diff --git a/include/fmt/core.h b/include/fmt/core.h index 2881c200..eebce949 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -588,7 +588,7 @@ void make_value(const T *p) { template inline typename std::enable_if< - convert_to_int::value && std::is_enum::value, + std::is_enum::value && convert_to_int::value, typed_value>::type make_value(const T &val) { return static_cast(val); }