1
0
mirror of https://github.com/nlohmann/json synced 2024-11-22 20:10:06 +00:00

Fix clang-tidy complaints.

This commit is contained in:
Anthony VH 2021-03-24 13:27:59 +01:00
parent 322bc99d8e
commit 8e79917d32

View File

@ -140,7 +140,7 @@ struct NotSerializableData
struct NonDefaultConstructible
{
explicit NonDefaultConstructible (int x) : x(x) { }
explicit NonDefaultConstructible (int a) : x(a) { }
int x;
};
@ -154,7 +154,7 @@ struct adl_serializer<NonDefaultConstructible>
return NonDefaultConstructible(j.get<int>());
}
};
}
} // namespace nlohmann
TEST_CASE("regression tests 2")