thread/Mutex: remove ScopeLock, use std::lock_guard directly
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
CPPUNIT_ASSERT(ris != sis);
|
||||
CPPUNIT_ASSERT(ris != nullptr);
|
||||
|
||||
const ScopeLock protect(mutex);
|
||||
const std::lock_guard<Mutex> protect(mutex);
|
||||
|
||||
ris->Update();
|
||||
CPPUNIT_ASSERT(ris->IsReady());
|
||||
|
Reference in New Issue
Block a user