diff --git a/include/fmt/core.h b/include/fmt/core.h index 3480fb2f..6df2875a 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1319,7 +1319,7 @@ using wformat_context = buffer_context; */ template class format_arg_store -#if FMT_GCC_VERSION < 409 +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 // Workaround a GCC template argument substitution bug. : public basic_format_args #endif @@ -1343,7 +1343,7 @@ class format_arg_store format_arg_store(const Args&... args) : -#if FMT_GCC_VERSION < 409 +#if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 basic_format_args(*this), #endif data_{internal::make_arg(args)...} { @@ -1376,7 +1376,7 @@ inline format_arg_store make_format_args( */ template 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. : public basic_format_args #endif