mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Fix gcc version check
This commit is contained in:
parent
a434a8f778
commit
346500e70b
@ -1319,7 +1319,7 @@ using wformat_context = buffer_context<wchar_t>;
|
||||
*/
|
||||
template <typename Context, typename... Args>
|
||||
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<Context>
|
||||
#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<Context>(*this),
|
||||
#endif
|
||||
data_{internal::make_arg<is_packed, Context>(args)...} {
|
||||
@ -1376,7 +1376,7 @@ inline format_arg_store<Context, Args...> make_format_args(
|
||||
*/
|
||||
template <typename Context>
|
||||
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<Context>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user