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/AlsaSoundStream.cpp | |
| parent | 4c9a2c6e2283dbf2772ff9bba1030ee961f68ccc (diff) | |
AudioCommon: Remove unnecessary usages of mem_fn
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; } |
