summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AOSoundStream.cpp
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/AudioCommon/Src/AOSoundStream.cpp
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/AudioCommon/Src/AOSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/AOSoundStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/AOSoundStream.cpp b/Source/Core/AudioCommon/Src/AOSoundStream.cpp
index 99ae2e661c..276938c3e2 100644
--- a/Source/Core/AudioCommon/Src/AOSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/AOSoundStream.cpp
@@ -63,7 +63,7 @@ bool AOSound::Start()
{
memset(realtimeBuffer, 0, sizeof(realtimeBuffer));
- thread = std::thread(std::mem_fun(&AOSound::SoundLoop), this);
+ thread = std::thread(std::mem_fn(&AOSound::SoundLoop), this);
return true;
}