Internals: clangtidy cleanups. No functional change intended (#7343)

This commit is contained in:
Wilson Snyder
2026-03-27 23:14:18 -04:00
committed by GitHub
parent 82c817d425
commit 31757df229
139 changed files with 1089 additions and 1238 deletions
+3 -3
View File
@@ -104,17 +104,17 @@ void V3ThreadPool::selfTest() {
auto secondJob = [&](int sleep) -> void {
commonMutex.lock();
commonMutex.unlock();
V3LockGuard lock{commonMutex};
const V3LockGuard lock{commonMutex};
std::this_thread::sleep_for(std::chrono::milliseconds{sleep});
commonValue = 1000;
};
auto thirdJob = [&](int sleep) -> void {
{
V3LockGuard lock{commonMutex};
const V3LockGuard lock{commonMutex};
std::this_thread::sleep_for(std::chrono::milliseconds{sleep});
}
firstJob(sleep);
V3LockGuard lock{commonMutex};
const V3LockGuard lock{commonMutex};
commonValue = 100;
};
{