From c53b692ac9def233ec1bccc1eb15872fc10065df Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 25 Aug 2023 21:17:48 +0200 Subject: [PATCH] refactor: clang-17 has a proper support for `consteval` --- src/core/include/mp-units/bits/external/hacks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/bits/external/hacks.h b/src/core/include/mp-units/bits/external/hacks.h index 009b2059a..34479a346 100644 --- a/src/core/include/mp-units/bits/external/hacks.h +++ b/src/core/include/mp-units/bits/external/hacks.h @@ -107,7 +107,7 @@ #endif -#if MP_UNITS_COMP_CLANG +#if MP_UNITS_COMP_CLANG < 17 #define MP_UNITS_CONSTEVAL constexpr