use FMT_NOEXCEPT instead of FMT_DETECTED_NOEXCEPT
for `is_constant_evaluated()` function
This commit is contained in:
parent
de42f13712
commit
fec7c1ab83
@ -283,7 +283,7 @@ struct monostate {};
|
|||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
constexpr bool is_constant_evaluated() FMT_DETECTED_NOEXCEPT {
|
constexpr bool is_constant_evaluated() FMT_NOEXCEPT {
|
||||||
#ifdef __cpp_lib_is_constant_evaluated
|
#ifdef __cpp_lib_is_constant_evaluated
|
||||||
return std::is_constant_evaluated();
|
return std::is_constant_evaluated();
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user