зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1406980 - Fix the -Wunused-lambda-capture warning r=gerald
MozReview-Commit-ID: HtItBaoGenR --HG-- extra : rebase_source : 3d7c91f2fb4fd067f0ab78e033b5279162658338
This commit is contained in:
Родитель
03333cae7c
Коммит
94764c33a9
|
@ -148,7 +148,7 @@ TestMultiWriterQueueMT(int aWriterThreads,
|
|||
q.PopAll([&pops](const int& i) { ++pops; });
|
||||
const int pushes = aWriterThreads * loops;
|
||||
EXPECT_EQ(pushes, pops);
|
||||
q.PopAll([&pops](const int& i) { EXPECT_TRUE(false); });
|
||||
q.PopAll([](const int& i) { EXPECT_TRUE(false); });
|
||||
|
||||
double duration = mozilla::ToSeconds(mozilla::DDNow()) - start - 0.1;
|
||||
printf("%s threads=%dw+%dr loops/thread=%d pushes=pops=%d duration=%fs "
|
||||
|
@ -397,4 +397,4 @@ TEST(MultiWriterQueue, nsDequeBenchmark)
|
|||
8, 0, 2 * 1024 * 1024, "DequeWrapperMT ");
|
||||
TestMultiWriterQueueMT<DequeWrapperMT>(
|
||||
8, 1, 2 * 1024 * 1024, "DequeWrapperMT ");
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче