mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[Support] ThreadPool tests: silence warning unused variable 'It'
This commit is contained in:
parent
e51b3ceb31
commit
5098c69ed1
@ -246,8 +246,10 @@ TEST_F(ThreadPoolTest, AffinityMask) {
|
||||
// Ensure the threads only ran on CPUs 0-3.
|
||||
// NOTE: Don't use ASSERT* here because this runs in a subprocess,
|
||||
// and will show up as un-executed in the parent.
|
||||
for (auto &It : ThreadsUsed)
|
||||
assert(It.getData().front() < 16UL);
|
||||
assert(llvm::all_of(ThreadsUsed,
|
||||
[](auto &T) { return T.getData().front() < 16UL; }) &&
|
||||
"Threads ran on more CPUs than expected! The affinity mask does not "
|
||||
"seem to work.");
|
||||
return;
|
||||
}
|
||||
std::string Executable =
|
||||
|
Loading…
Reference in New Issue
Block a user