From 6d99aee9bbbd254c0d64cbe3bfbec05342998cf6 Mon Sep 17 00:00:00 2001 From: CEL Dev Team Date: Sun, 11 Oct 2026 20:16:48 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 997643062 --- extensions/formatting.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/formatting.cc b/extensions/formatting.cc index c222be1ad..d05fbe7f6 100644 --- a/extensions/formatting.cc +++ b/extensions/formatting.cc @@ -296,7 +296,7 @@ absl::StatusOr FormatBinary( sign_bit = true; // Negating min int is undefined behavior, so we need to use unsigned // arithmetic. - using unsigned_type = std::make_unsigned::type; + using unsigned_type = std::make_unsigned_t; unsigned_value = -static_cast(tmp); } else { unsigned_value = tmp; @@ -354,7 +354,7 @@ absl::StatusOr FormatHex( if (tmp < 0) { // Negating min int is undefined behavior, so we need to use unsigned // arithmetic. - using unsigned_type = std::make_unsigned::type; + using unsigned_type = std::make_unsigned_t; scratch = absl::StrFormat("-%x", -static_cast(tmp)); } else { scratch = absl::StrFormat("%x", tmp); @@ -386,7 +386,7 @@ absl::StatusOr FormatOctal( if (tmp < 0) { // Negating min int is undefined behavior, so we need to use unsigned // arithmetic. - using unsigned_type = std::make_unsigned::type; + using unsigned_type = std::make_unsigned_t; scratch = absl::StrFormat("-%o", -static_cast(tmp)); } else { scratch = absl::StrFormat("%o", tmp);