Core: Get rid of calls to mem_fn in thread instantiations

These are not necessary for the same behavior.
This commit is contained in:
Lioncash
2014-08-09 12:45:56 -04:00
parent e266635f40
commit 6faed31a44
7 changed files with 5 additions and 10 deletions

View File

@ -117,7 +117,7 @@ NetPlayClient::NetPlayClient(const std::string& address, const u16 port, NetPlay
is_connected = true;
m_selector.Add(m_socket);
m_thread = std::thread(std::mem_fn(&NetPlayClient::ThreadFunc), this);
m_thread = std::thread(&NetPlayClient::ThreadFunc, this);
}
}
else