thread/Mutex: remove ScopeLock, use std::lock_guard directly
This commit is contained in:
@@ -111,7 +111,7 @@ DecoderControl::Start(DetachedSong *_song,
|
||||
void
|
||||
DecoderControl::Stop()
|
||||
{
|
||||
const ScopeLock protect(mutex);
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
|
||||
if (command != DecoderCommand::NONE)
|
||||
/* Attempt to cancel the current command. If it's too
|
||||
|
||||
Reference in New Issue
Block a user