diff options
author | 2022-02-23 14:30:26 -0800 | |
---|---|---|
committer | 2022-02-24 12:28:55 -0500 | |
commit | 5e4ea1ce097f3571e7d87af33b6b30d11b3a211e (patch) | |
tree | 62fbf34f7e310a9ef6602acee8fa7d61ae32df09 /absl/numeric/bits_benchmark.cc | |
parent | 0ad7994f10624cd1538b1287e56cae5ac9c0cb40 (diff) |
Export of internal Abseil changes
--
7473df9e4922c589f6b27cf546aad097381ae552 by Martijn Vels <mvels@google.com>:
Make ABSL_ASSUME publicly available
PiperOrigin-RevId: 430540224
Change-Id: I760e2d86e3a0b676cd2a6d26e0225a77381e948f
--
c83e38bc421f715b3c1e20150c2f1ffe8e633028 by Abseil Team <absl-team@google.com>:
Alias absl::bind_front to std::bind_front if available
This avoids ambiguity between the two when enabling C++20.
PiperOrigin-RevId: 430486679
GitOrigin-RevId: 7473df9e4922c589f6b27cf546aad097381ae552
Change-Id: I1e9bba09a8946480ce10ddd28e86b6c86191d38c
Diffstat (limited to 'absl/numeric/bits_benchmark.cc')
-rw-r--r-- | absl/numeric/bits_benchmark.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/numeric/bits_benchmark.cc b/absl/numeric/bits_benchmark.cc index 3de1dbfa..b9759583 100644 --- a/absl/numeric/bits_benchmark.cc +++ b/absl/numeric/bits_benchmark.cc @@ -59,7 +59,7 @@ static void BM_bitwidth_nonzero(benchmark::State& state) { while (state.KeepRunningBatch(count)) { for (int i = 0; i < count; ++i) { const T value = values[i]; - ABSL_INTERNAL_ASSUME(value > 0); + ABSL_ASSUME(value > 0); benchmark::DoNotOptimize(value); } } |