From 03c1b110a5b82048f6d6a895ecd35d7e3d32e8bd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 8 Nov 2018 12:41:55 -0800 Subject: [PATCH] Fix gcc 4.4 build --- test/format-test.cc | 2 ++ 1 file changed, 2 insertions(+) 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