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

@ -146,7 +146,7 @@ UDPWiimote::UDPWiimote(const std::string& _port, const std::string& name, int _i
initBroadcastIPv6();
std::lock_guard<std::mutex> lk(d->termLock);
d->thread = std::thread(std::mem_fun(&UDPWiimote::mainThread), this);
d->thread = std::thread(std::mem_fn(&UDPWiimote::mainThread), this);
return;
}