Replace use of the deprecated mem_fun function with mem_fn.
This commit is contained in:
1 parent
bad109402e
commit
e79895e372
10 files changed
+11
-11
No files matched your search
@@ -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_fun(&NetPlayClient::ThreadFunc), this);
|
||||
m_thread = std::thread(std::mem_fn(&NetPlayClient::ThreadFunc), this);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user