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

@ -35,7 +35,7 @@ NetPlayServer::NetPlayServer(const u16 port) : is_connected(false), m_is_running
is_connected = true;
m_do_loop = true;
m_selector.Add(m_socket);
m_thread = std::thread(std::mem_fn(&NetPlayServer::ThreadFunc), this);
m_thread = std::thread(&NetPlayServer::ThreadFunc, this);
m_target_buffer_size = 20;
}
}