mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
fix QCOMPARE link error
This commit is contained in:
parent
1e42cd794c
commit
09ec67182a
@ -95,9 +95,9 @@ void benchmark_lc() {
|
||||
if (++fini == std::extent<decltype(r_trd)>::value) {
|
||||
sw.print_elapsed(W, R, Loops);
|
||||
}
|
||||
std::int64_t sum = 0;
|
||||
std::uint64_t sum = 0;
|
||||
for (int i : seq) sum += i;
|
||||
QCOMPARE(sum, acc<std::int64_t>(1, Loops) * std::extent<decltype(w_trd)>::value);
|
||||
QCOMPARE(sum, acc<std::uint64_t>(1, Loops) * std::extent<decltype(w_trd)>::value);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user