From 24924128e32fba8011037e21454426458f99d13b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 7 Feb 2020 18:34:05 -0800 Subject: [PATCH] Fix a link error in gcc8 (#1548) --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.