mirror of https://github.com/nlohmann/json.git
🚧 fixed a warning
parent
3857e55290
commit
030cf674ef
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue