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