From 789a500ddc477dcdc809b8f771bbd8176c45ae1e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 8 Sep 2014 13:39:51 -0400 Subject: AudioCommon: Remove unnecessary usages of mem_fn --- Source/Core/AudioCommon/PulseAudioStream.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/AudioCommon/PulseAudioStream.cpp') diff --git a/Source/Core/AudioCommon/PulseAudioStream.cpp b/Source/Core/AudioCommon/PulseAudioStream.cpp index 03aefe30f0..22559feb41 100644 --- a/Source/Core/AudioCommon/PulseAudioStream.cpp +++ b/Source/Core/AudioCommon/PulseAudioStream.cpp @@ -2,8 +2,6 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#include - #include "AudioCommon/PulseAudioStream.h" #include "Common/Common.h" #include "Common/Thread.h" @@ -25,7 +23,7 @@ PulseAudio::PulseAudio(CMixer *mixer) bool PulseAudio::Start() { m_run_thread = true; - m_thread = std::thread(std::mem_fn(&PulseAudio::SoundLoop), this); + m_thread = std::thread(&PulseAudio::SoundLoop, this); return true; } -- cgit v1.2.3