diff --git a/test/xchar-test.cc b/test/xchar-test.cc index 608af350..34dd1c7b 100644 --- a/test/xchar-test.cc +++ b/test/xchar-test.cc @@ -108,7 +108,7 @@ TEST(xchar_test, compile_time_string) { #if FMT_CPLUSPLUS > 201103L struct custom_char { int value; - custom_char() = default; + constexpr custom_char() : value(0) {} template constexpr custom_char(T val) : value(static_cast(val)) {}