From 9956c59166ae69a61b9c73a372984bf02b3e0e86 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Thu, 30 Oct 2025 18:08:31 +0100 Subject: [PATCH] Avoid deprecated spacing in user defined literals Warns when compiling with Clang on linux. --- Utilities/rANS/include/rANS/internal/common/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Utilities/rANS/include/rANS/internal/common/utils.h b/Utilities/rANS/include/rANS/internal/common/utils.h index 34f2a5c6d6b30..8b8cfd9c15154 100644 --- a/Utilities/rANS/include/rANS/internal/common/utils.h +++ b/Utilities/rANS/include/rANS/internal/common/utils.h @@ -152,11 +152,11 @@ inline uint32_t safeadd(uint32_t a, uint32_t b) } // namespace internal -inline constexpr std::uint8_t operator"" _u8(unsigned long long int value) { return static_cast(value); }; -inline constexpr std::int8_t operator"" _i8(unsigned long long int value) { return static_cast(value); }; +inline constexpr std::uint8_t operator""_u8(unsigned long long int value) { return static_cast(value); }; +inline constexpr std::int8_t operator""_i8(unsigned long long int value) { return static_cast(value); }; -inline constexpr std::uint16_t operator"" _u16(unsigned long long int value) { return static_cast(value); }; -inline constexpr std::int16_t operator"" _i16(unsigned long long int value) { return static_cast(value); }; +inline constexpr std::uint16_t operator""_u16(unsigned long long int value) { return static_cast(value); }; +inline constexpr std::int16_t operator""_i16(unsigned long long int value) { return static_cast(value); }; namespace utils {