thread/Mutex: remove ScopeLock, use std::lock_guard directly
This commit is contained in:
@@ -200,7 +200,7 @@ public:
|
||||
*/
|
||||
gcc_pure
|
||||
bool LockHasClients() const {
|
||||
const ScopeLock protect(mutex);
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
return HasClients();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user