diff options
Diffstat (limited to 'Source/Core/AudioCommon/AlsaSoundStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AlsaSoundStream.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/AlsaSoundStream.cpp b/Source/Core/AudioCommon/AlsaSoundStream.cpp index 6eb8d68369..de6877c278 100644 --- a/Source/Core/AudioCommon/AlsaSoundStream.cpp +++ b/Source/Core/AudioCommon/AlsaSoundStream.cpp @@ -2,8 +2,6 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include <functional> - #include "AudioCommon/AlsaSoundStream.h" #include "Common/Common.h" #include "Common/Thread.h" @@ -24,7 +22,7 @@ AlsaSound::~AlsaSound() bool AlsaSound::Start() { - thread = std::thread(std::mem_fn(&AlsaSound::SoundLoop), this); + thread = std::thread(&AlsaSound::SoundLoop, this); thread_data = 0; return true; } |
