diff --git a/ricepp/include/ricepp/byteswap.h b/ricepp/include/ricepp/byteswap.h index d38b23cd..3e79f15f 100644 --- a/ricepp/include/ricepp/byteswap.h +++ b/ricepp/include/ricepp/byteswap.h @@ -57,7 +57,7 @@ template } #elif defined(_MSC_VER) static_assert(sizeof(T) == 2 || sizeof(T) == 4 || sizeof(T) == 8); - if constexpr (std::is_constant_evaluated()) { + if (std::is_constant_evaluated()) { return byteswap_fallback(value); } else { if constexpr (sizeof(T) == 2) {