summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AlsaSoundStream.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-09-08 18:01:33 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2014-09-08 18:01:33 -0500
commit859f86ac2db6fe296381ea204493d4a29bea23fa (patch)
treeb0817cbf8f4060b42910e1b4a611360137e261a3 /Source/Core/AudioCommon/AlsaSoundStream.cpp
parentbf0c4a644bd38e357aa5c4c2eeb7ad1db56cb378 (diff)
parent789a500ddc477dcdc809b8f771bbd8176c45ae1e (diff)
Merge pull request #1037 from lioncash/mem_fn
AudioCommon: Remove unnecessary usages of mem_fn
Diffstat (limited to 'Source/Core/AudioCommon/AlsaSoundStream.cpp')
-rw-r--r--Source/Core/AudioCommon/AlsaSoundStream.cpp4
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;
}