diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-09-08 13:39:51 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-09-08 13:41:02 -0400 |
| commit | 789a500ddc477dcdc809b8f771bbd8176c45ae1e (patch) | |
| tree | 56a0913b74fe3da108c842dc3756c58a5d23d891 /Source/Core/AudioCommon/AOSoundStream.cpp | |
| parent | 4c9a2c6e2283dbf2772ff9bba1030ee961f68ccc (diff) | |
AudioCommon: Remove unnecessary usages of mem_fn
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; } |
