From dac42f52b21496d37f02006cb71ae1c034d8e9d0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 1 Apr 2021 10:42:09 -0700 Subject: [PATCH] Inline fallback is_constant_evaluated --- 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 f88b4cfe..7d2ba5ac 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -288,7 +288,7 @@ struct monostate {}; namespace detail { -constexpr bool is_constant_evaluated() FMT_NOEXCEPT { +constexpr FMT_INLINE bool is_constant_evaluated() FMT_NOEXCEPT { #ifdef __cpp_lib_is_constant_evaluated return std::is_constant_evaluated(); #else