Replace use of the deprecated mem_fun function with mem_fn.

This commit is contained in:
lioncash
2014-04-01 12:09:22 -04:00
parent bad109402e
commit e79895e372
10 changed files with 11 additions and 11 deletions

View File

@ -121,7 +121,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;
}