mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +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>
|
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
|
|||||||
|
|
||||||
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(
|
|||||||
*/
|
*/
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user