mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Core: Get rid of calls to mem_fn in thread instantiations
These are not necessary for the same behavior.
This commit is contained in:
parent
e266635f40
commit
6faed31a44
7 changed files with 5 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue