mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use class template argument deduction for locks
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
||||
{
|
||||
void processTask(int instance) override
|
||||
{
|
||||
std::lock_guard<std::mutex> lk{mut};
|
||||
std::lock_guard lk{mut};
|
||||
if (--count == 0)
|
||||
cv.notify_all();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user