mirror of
https://github.com/nlohmann/json.git
synced 2026-02-21 10:56:26 +00:00
🏗️ adding anonymous namespace
This commit is contained in:
@@ -36,6 +36,8 @@ using nlohmann::json;
|
||||
#include <sstream>
|
||||
#include <valarray>
|
||||
|
||||
namespace
|
||||
{
|
||||
struct SaxEventLogger : public nlohmann::json_sax<json>
|
||||
{
|
||||
bool null() override
|
||||
@@ -167,6 +169,7 @@ struct SaxEventLoggerExitAfterStartArray : public SaxEventLogger
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
TEST_CASE("deserialization")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user