diff options
author | Derek Mauro <dmauro@google.com> | 2024-02-12 09:43:50 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-02-12 09:45:21 -0800 |
commit | 34604d5b1f6ae14c65b3992478b59f7108051979 (patch) | |
tree | c17064f78ee073d0c421182bbe3555010b43c25d /absl/time | |
parent | 119e0d3f74733aff2999d39cb8be99ddcb081c66 (diff) | |
download | abseil-34604d5b1f6ae14c65b3992478b59f7108051979.tar.gz abseil-34604d5b1f6ae14c65b3992478b59f7108051979.tar.bz2 abseil-34604d5b1f6ae14c65b3992478b59f7108051979.zip |
Remove deprecated symbol absl::kuint128max
absl::kuint128max should be replaced with absl::Uint128Max()
PiperOrigin-RevId: 606279299
Change-Id: Ib67b5431f14891f56bb706e62f183d0de75d335f
Diffstat (limited to 'absl/time')
-rw-r--r-- | absl/time/duration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/time/duration.cc b/absl/time/duration.cc index bdb16e21..13b268c0 100644 --- a/absl/time/duration.cc +++ b/absl/time/duration.cc @@ -219,7 +219,7 @@ struct SafeMultiply { ? static_cast<uint128>(Uint128Low64(a) * Uint128Low64(b)) : a * b; } - return b == 0 ? b : (a > kuint128max / b) ? kuint128max : a * b; + return b == 0 ? b : (a > Uint128Max() / b) ? Uint128Max() : a * b; } }; |