mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
AudioCommon: Remove unnecessary usages of mem_fn
This commit is contained in:
parent
4c9a2c6e22
commit
789a500ddc
3 changed files with 4 additions and 9 deletions
|
@ -2,8 +2,7 @@
|
|||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <functional>
|
||||
#include <string.h>
|
||||
#include <cstring>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue