1
0
mirror of https://github.com/nlohmann/json synced 2024-11-30 15:40:07 +00:00

🚧 fixed a warning

This commit is contained in:
Niels Lohmann 2017-01-24 12:49:38 +01:00
parent 3857e55290
commit 030cf674ef

View File

@ -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;