Replace use of the deprecated mem_fun function with mem_fn.

This commit is contained in:
lioncash
2014-04-01 12:09:22 -04:00
parent bad109402e
commit e79895e372
10 changed files with 11 additions and 11 deletions

View File

@ -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;
}
}