diff --git a/test/src/unit-udt.cpp b/test/src/unit-udt.cpp index 4231e687..241336f3 100644 --- a/test/src/unit-udt.cpp +++ b/test/src/unit-udt.cpp @@ -668,7 +668,7 @@ TEST_CASE("custom serializer that does adl by default", "[udt]") { using json = nlohmann::json; - auto me = udt::person{23, "theo", udt::country::france}; + auto me = udt::person{{23}, {"theo"}, udt::country::france}; json j = me; custom_json cj = me;