summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AOSoundStream.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-04-01 23:59:20 +0200
committerPierre Bourdon <delroth@gmail.com>2014-04-01 23:59:20 +0200
commit2aac3f14b5e9a10d65a310f4135e02551e4af362 (patch)
tree6668ee276eba5c6da6c0e191ac3996d169b03fca /Source/Core/AudioCommon/AOSoundStream.cpp
parent4e0ed8e93b61eb5c75c5abf64364787867adf13d (diff)
parente79895e372c00b1464fb3a28ec0a0b337b660d6f (diff)
Merge pull request #238 from lioncash/fix-deprecations
Replace use of the deprecated mem_fun function with mem_fn.
Diffstat (limited to 'Source/Core/AudioCommon/AOSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/AOSoundStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/AOSoundStream.cpp b/Source/Core/AudioCommon/AOSoundStream.cpp
index 20ec4261c2..f2d7622d1d 100644
--- a/Source/Core/AudioCommon/AOSoundStream.cpp
+++ b/Source/Core/AudioCommon/AOSoundStream.cpp
@@ -50,7 +50,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;
}