chore: Enable remaining clang-tidy performance checks (#6648)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alex Kremer
2026-03-30 18:08:47 +01:00
committed by Bart
parent b36aedb4d5
commit 453d94da17
66 changed files with 141 additions and 139 deletions

View File

@@ -592,6 +592,7 @@ public:
}
};
std::vector<std::thread> threads;
threads.reserve(numThreads);
for (int i = 0; i < numThreads; ++i)
{
threads.emplace_back(cloneAndDestroy, i);
@@ -737,6 +738,7 @@ public:
}
};
std::vector<std::thread> threads;
threads.reserve(numThreads);
for (int i = 0; i < numThreads; ++i)
{
threads.emplace_back(cloneAndDestroy, i);
@@ -845,6 +847,7 @@ public:
}
};
std::vector<std::thread> threads;
threads.reserve(numThreads);
for (int i = 0; i < numThreads; ++i)
{
threads.emplace_back(lockAndDestroy, i);