Inline fallback is_constant_evaluated

This commit is contained in:
Victor Zverovich
2021-04-01 10:42:09 -07:00
parent 7c43f8b896
commit dac42f52b2

View File

@ -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