summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.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/OpenALStream.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/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index fb4d778b12..b2f820c453 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -36,7 +36,7 @@ bool OpenALStream::Start()
//period_size_in_millisec = 1000 / refresh;
alcMakeContextCurrent(pContext);
- thread = std::thread(std::mem_fun(&OpenALStream::SoundLoop), this);
+ thread = std::thread(std::mem_fn(&OpenALStream::SoundLoop), this);
bReturn = true;
}
else