mirror of
https://github.com/nlohmann/json.git
synced 2026-02-23 11:56:24 +00:00
Fix clang-tidy complaints.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user