diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-04-01 23:59:20 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-04-01 23:59:20 +0200 |
| commit | 2aac3f14b5e9a10d65a310f4135e02551e4af362 (patch) | |
| tree | 6668ee276eba5c6da6c0e191ac3996d169b03fca /Source/Core/AudioCommon/DSoundStream.cpp | |
| parent | 4e0ed8e93b61eb5c75c5abf64364787867adf13d (diff) | |
| parent | e79895e372c00b1464fb3a28ec0a0b337b660d6f (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/DSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/DSoundStream.cpp | 2 |
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; } |
