mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 16:55:41 +00:00
Reconcile -Weffc++ and readability-redundant-member-init in unit-bson.cpp (#5953)
This commit is contained in:
1 parent
84c5421644
commit
da83aa92c8
1 file changed
+2
@@ -1311,6 +1311,8 @@ TEST_CASE("BSON declared document size bounds the content")
|
||||
// records the events that a SAX parser receives
|
||||
struct recorder : nlohmann::json_sax<json>
|
||||
{
|
||||
// GCC's -Weffc++ wants the member initialized in the member initialization list
|
||||
// NOLINTNEXTLINE(readability-redundant-member-init)
|
||||
std::string events {};
|
||||
|
||||
bool null() override
|
||||
|
||||
Reference in new issue
Block a user