From fec7c1ab83ec1f9976932943f536eda55d8b76db Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Tue, 22 Dec 2020 21:28:04 +0300 Subject: [PATCH] use `FMT_NOEXCEPT` instead of `FMT_DETECTED_NOEXCEPT` for `is_constant_evaluated()` function --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index e2db21af..accab811 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -283,7 +283,7 @@ struct monostate {}; namespace detail { -constexpr bool is_constant_evaluated() FMT_DETECTED_NOEXCEPT { +constexpr bool is_constant_evaluated() FMT_NOEXCEPT { #ifdef __cpp_lib_is_constant_evaluated return std::is_constant_evaluated(); #else