diff --git a/test/format-test.cc b/test/format-test.cc index b8663147..173d2ccc 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -45,6 +45,7 @@ using testing::StrictMock; namespace { +#if !FMT_GCC_VERSION || FMT_GCC_VERSION >= 408 template bool check_enabled_formatter() { static_assert(std::is_default_constructible>::value, ""); @@ -60,6 +61,7 @@ void check_enabled_formatters() { TEST(FormatterTest, TestFormattersEnabled) { check_enabled_formatters(); } +#endif // Format value using the standard library. template