diff --git a/test/serialization_nvp_test.cpp b/test/serialization_nvp_test.cpp index cc73d20..0eee020 100644 --- a/test/serialization_nvp_test.cpp +++ b/test/serialization_nvp_test.cpp @@ -34,7 +34,7 @@ int main() std::string s = os.str(); - X x2 = {}; + X x2 = { 0, 0 }; { std::istringstream is( s ); diff --git a/test/serialization_split_free_test.cpp b/test/serialization_split_free_test.cpp index 20fddab..cead4ad 100644 --- a/test/serialization_split_free_test.cpp +++ b/test/serialization_split_free_test.cpp @@ -45,7 +45,7 @@ int main() std::string s = os.str(); - X x2 = {}; + X x2 = { 0, 0 }; { std::istringstream is( s );