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:
parent
322bc99d8e
commit
8e79917d32
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user