diff --git a/include/fmt/format.h b/include/fmt/format.h index 59dc223b3465..1f89b63ec269 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -312,7 +312,7 @@ template class is_output_iterator { using type = decltype(test(typename iterator_category::type{})); public: - static const bool value = !std::is_const>::value; + enum { value = !std::is_const>::value }; }; // A workaround for std::string not having mutable data() until C++17.