diff --git a/Framework/Foundation/include/Framework/Endian.h b/Framework/Foundation/include/Framework/Endian.h index a8fee915ee340..5b69591030249 100644 --- a/Framework/Foundation/include/Framework/Endian.h +++ b/Framework/Foundation/include/Framework/Endian.h @@ -33,24 +33,20 @@ #define O2_BIG_ENDIAN __BIG_ENDIAN #define O2_LITTLE_ENDIAN __LITTLE_ENDIAN - template - requires std::same_as -inline uint16_t doSwap(uint16_t x) +inline uint16_t doSwap(std::same_as auto x) { return swap16_(x); } template - requires std::same_as -inline uint32_t doSwap(uint32_t x) +inline uint32_t doSwap(std::same_as auto x) { return swap32_(x); } template - requires std::same_as -inline uint64_t doSwap(uint64_t x) +inline uint64_t doSwap(std::same_as auto x) { return swap64_(x); }