From 06bab3edb07b889d4054b262b7fe86e0ba3fb624 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 30 Sep 2016 07:20:57 -0700 Subject: [PATCH] Workaround mingw bug https://sourceforge.net/p/mingw/bugs/1531/ --- fmt/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index b32cb53d..0ac3ce33 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1426,13 +1426,13 @@ template class format_arg_store { private: static const size_t NUM_ARGS = sizeof...(Args); - static const bool PACKED = NUM_ARGS <= internal::MAX_PACKED_ARGS; + static const bool IS_PACKED = NUM_ARGS <= internal::MAX_PACKED_ARGS; typedef typename std::conditional< - PACKED, internal::Value, internal::Arg>::type value_type; + IS_PACKED, internal::Value, internal::Arg>::type value_type; // If the arguments are not packed, add one more element to mark the end. - std::array data_; + std::array data_; template friend format_arg_store make_format_args(const A & ... args);