18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-21 19:05:00 +01:00

refactor(sonar): use std::scoped_lock instead of std::lock_guard (cpp:S5997)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 15:06:48 +02:00
parent 7e8081d904
commit 789e391420
5 changed files with 13 additions and 13 deletions

View File

@@ -447,7 +447,7 @@ class condition_variable
}
void spurious(bool const Spurious)
{
std::lock_guard<std::mutex> lock(m_mutex);
std::scoped_lock lock(m_mutex);
m_spurious = Spurious;
}