Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Aug 22, 2021
1 parent d6679a0 commit 7b3f60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/bench_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ class DuplicateCheckerBenchRepeatOnly final : public td::Benchmark {
T checker_;
for (int i = 0; i < n; i++) {
auto result = checker_.check(i & 255);
CHECK(result.is_error() == i >= 256);
CHECK(result.is_error() == (i >= 256));
}
}
};
Expand Down

0 comments on commit 7b3f60e

Please sign in to comment.