diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-02 22:53:09 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-02 23:42:34 -0400 |
| commit | 17e79a966a4051c089e03b25de9640a55f39f01c (patch) | |
| tree | 7052fb0d18c6235a83c612c6cff1943cd20affb5 /Source/Core/AudioCommon/DSoundStream.cpp | |
| parent | 46ce810b45597f8d911e601af846a5d933bfb605 (diff) | |
AudioCommon: Get rid of some unnecessary mem_fn calls
Diffstat (limited to 'Source/Core/AudioCommon/DSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/DSoundStream.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/AudioCommon/DSoundStream.cpp b/Source/Core/AudioCommon/DSoundStream.cpp index df96a9551f..d9c81db6b9 100644 --- a/Source/Core/AudioCommon/DSoundStream.cpp +++ b/Source/Core/AudioCommon/DSoundStream.cpp @@ -3,9 +3,7 @@ // Refer to the license.txt file included. #include <cmath> -#include <functional> - -#include <windows.h> +#include <Windows.h> #include "AudioCommon/AudioCommon.h" #include "AudioCommon/DSoundStream.h" @@ -123,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_fn(&DSound::SoundLoop), this); + thread = std::thread(&DSound::SoundLoop, this); return true; } |
