mirror of
https://github.com/nlohmann/json.git
synced 2026-10-06 14:40:32 +00:00
🚧 fixed a warning
This commit is contained in:
1 parent
3857e55290
commit
030cf674ef
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user