Commit 346500e7 authored by Victor Zverovich's avatar Victor Zverovich

Fix gcc version check

parent a434a8f7
...@@ -1319,7 +1319,7 @@ using wformat_context = buffer_context<wchar_t>; ...@@ -1319,7 +1319,7 @@ using wformat_context = buffer_context<wchar_t>;
*/ */
template <typename Context, typename... Args> template <typename Context, typename... Args>
class format_arg_store class format_arg_store
#if FMT_GCC_VERSION < 409 #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
// Workaround a GCC template argument substitution bug. // Workaround a GCC template argument substitution bug.
: public basic_format_args<Context> : public basic_format_args<Context>
#endif #endif
...@@ -1343,7 +1343,7 @@ class format_arg_store ...@@ -1343,7 +1343,7 @@ class format_arg_store
format_arg_store(const Args&... args) format_arg_store(const Args&... args)
: :
#if FMT_GCC_VERSION < 409 #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
basic_format_args<Context>(*this), basic_format_args<Context>(*this),
#endif #endif
data_{internal::make_arg<is_packed, Context>(args)...} { data_{internal::make_arg<is_packed, Context>(args)...} {
...@@ -1376,7 +1376,7 @@ inline format_arg_store<Context, Args...> make_format_args( ...@@ -1376,7 +1376,7 @@ inline format_arg_store<Context, Args...> make_format_args(
*/ */
template <typename Context> template <typename Context>
class dynamic_format_arg_store class dynamic_format_arg_store
#if FMT_GCC_VERSION < 409 #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409
// Workaround a GCC template argument substitution bug. // Workaround a GCC template argument substitution bug.
: public basic_format_args<Context> : public basic_format_args<Context>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment