mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Replace use of the deprecated mem_fun function with mem_fn.
This commit is contained in:
@ -31,7 +31,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_fun(&NetPlayServer::ThreadFunc), this);
|
||||
m_thread = std::thread(std::mem_fn(&NetPlayServer::ThreadFunc), this);
|
||||
m_target_buffer_size = 20;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user