mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
Fix gcc 4.4 build
This commit is contained in:
parent
cc805c6162
commit
03c1b110a5
@ -45,6 +45,7 @@ using testing::StrictMock;
|
||||
|
||||
namespace {
|
||||
|
||||
#if !FMT_GCC_VERSION || FMT_GCC_VERSION >= 408
|
||||
template <typename T>
|
||||
bool check_enabled_formatter() {
|
||||
static_assert(std::is_default_constructible<fmt::formatter<T>>::value, "");
|
||||
@ -60,6 +61,7 @@ void check_enabled_formatters() {
|
||||
TEST(FormatterTest, TestFormattersEnabled) {
|
||||
check_enabled_formatters<char, signed char, unsigned char>();
|
||||
}
|
||||
#endif
|
||||
|
||||
// Format value using the standard library.
|
||||
template <typename Char, typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user