没有与参数列表匹配的构造函数。。求助

在学c++多线程的时候报了这个错。。不太会c++ 望求助,请问该如何修改呢望大神教一下
这个是CPP
#include "stdafx.h"

#include

#include

std::thread::id main_thread_id = std::this_thread::get_id();

void pm::MainDlg::main() {
std::thread t(Tcp);
t.join();

}

void pm::MainDlg::Tcp()
{
std::cout << "Hello Concurrent World\n";
if (main_thread_id == std::this_thread::get_id())
std::cout << "This is the main thread.\n";
else
std::cout << "This is not the main thread.\n";
}

这个是H

#pragma once

#include "targetver.h"

#include
#include

namespace pm {
class MainDlg {
private:
void main();
void Tcp();

};

}

图片说明

图片说明

图片说明

thread没有一个参数的构造函数,如果要传参数,参考:https://blog.csdn.net/veghlreywg/article/details/88788775