use FMT_NOEXCEPT instead of FMT_DETECTED_NOEXCEPT

for `is_constant_evaluated()` function
This commit is contained in:
Alexey Ochapov 2020-12-22 21:28:04 +03:00
parent de42f13712
commit fec7c1ab83
No known key found for this signature in database
GPG Key ID: 9DC52E8F031B8DA8

View File

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