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/AOSoundStream.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/Core/AudioCommon/AOSoundStream.cpp') 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 -#include +#include #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; } -- cgit v1.2.3