mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
mem_fun -> mem_fn.
mem_fun is deprecated in C++11. Also it does everything mem_fun can do, but more conveniently.
This commit is contained in:
parent
cff8fe8f77
commit
b7d32b0a3d
8 changed files with 11 additions and 9 deletions
|
@ -135,7 +135,7 @@ bool DSound::Start()
|
|||
dsBuffer->Lock(0, bufferSize, (void* *)&p1, &num1, 0, 0, DSBLOCK_ENTIREBUFFER);
|
||||
memset(p1, 0, num1);
|
||||
dsBuffer->Unlock(p1, num1, 0, 0);
|
||||
thread = std::thread(std::mem_fun(&DSound::SoundLoop), this);
|
||||
thread = std::thread(std::mem_fn(&DSound::SoundLoop), this);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue