summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/DSoundStream.cpp
diff options
context:
space:
mode:
authorlioncash <mathew1800@gmail.com>2014-04-01 12:09:22 -0400
committerlioncash <mathew1800@gmail.com>2014-04-01 12:09:22 -0400
commite79895e372c00b1464fb3a28ec0a0b337b660d6f (patch)
tree78927d8907b413ae25d8aa4f9d613e9235b0fa7c /Source/Core/AudioCommon/DSoundStream.cpp
parentbad109402e0b938156bce84e1aed6e39111a6e06 (diff)
Replace use of the deprecated mem_fun function with mem_fn.
Diffstat (limited to 'Source/Core/AudioCommon/DSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/DSoundStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/DSoundStream.cpp b/Source/Core/AudioCommon/DSoundStream.cpp
index 742019a1b4..2ffbe9794b 100644
--- a/Source/Core/AudioCommon/DSoundStream.cpp
+++ b/Source/Core/AudioCommon/DSoundStream.cpp
@@ -121,7 +121,7 @@ bool DSound::Start()
dsBuffer->Lock(0, bufferSize, (void* *)&p1, &num1, 0, 0, DSBLOCK_ENTIREBUFFER);
memset(p1, 0, num1);
dsBuffer->Unlock(p1, num1, 0, 0);
- thread = std::thread(std::mem_fun(&DSound::SoundLoop), this);
+ thread = std::thread(std::mem_fn(&DSound::SoundLoop), this);
return true;
}