mirror of
https://github.com/nlohmann/json.git
synced 2026-10-26 15:58:55 +00:00
Fix -Weffc++ in the BSON recorder test and a clang-tidy use-auto hit
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -1311,7 +1311,7 @@ TEST_CASE("BSON declared document size bounds the content")
|
||||
// records the events that a SAX parser receives
|
||||
struct recorder : nlohmann::json_sax<json>
|
||||
{
|
||||
std::string events;
|
||||
std::string events {};
|
||||
|
||||
bool null() override
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user