summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-01-23 23:29:50 -0500
committerLioncash <mathew1800@gmail.com>2013-01-23 23:29:50 -0500
commitb7d32b0a3d810736b2e1151d6d8b9da85ebfbcf3 (patch)
tree6d0f6d17c394467b821d890eb279d143a23d84ec /Source/Core/InputCommon
parentcff8fe8f77cda18cda80b95364d59dc45a9c6830 (diff)
mem_fun -> mem_fn.
mem_fun is deprecated in C++11. Also it does everything mem_fun can do, but more conveniently.
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/Src/UDPWiimote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/Src/UDPWiimote.cpp b/Source/Core/InputCommon/Src/UDPWiimote.cpp
index f14f9ed7e2..83799f2a43 100644
--- a/Source/Core/InputCommon/Src/UDPWiimote.cpp
+++ b/Source/Core/InputCommon/Src/UDPWiimote.cpp
@@ -134,7 +134,7 @@ UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
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;
}