diff options
Diffstat (limited to 'Source/Core/AudioCommon/AOSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AOSoundStream.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/AOSoundStream.cpp b/Source/Core/AudioCommon/AOSoundStream.cpp index f2d7622d1d..7def6331a3 100644 --- a/Source/Core/AudioCommon/AOSoundStream.cpp +++ b/Source/Core/AudioCommon/AOSoundStream.cpp @@ -2,8 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include <functional> -#include <string.h> +#include <cstring> #include "AudioCommon/AOSoundStream.h" #include "AudioCommon/Mixer.h" @@ -50,7 +49,7 @@ bool AOSound::Start() { memset(realtimeBuffer, 0, sizeof(realtimeBuffer)); - thread = std::thread(std::mem_fn(&AOSound::SoundLoop), this); + thread = std::thread(&AOSound::SoundLoop, this); return true; } |
