1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-09 05:22:48 +03:00

🔀 merge develop

This commit is contained in:
Niels Lohmann
2024-11-17 07:45:45 +01:00
parent a65d65c724
commit 2e928c39ae
11 changed files with 56 additions and 31 deletions

View File

@@ -69,7 +69,7 @@ class parser
public:
/// a parser reading from an input adapter
explicit parser(InputAdapterType&& adapter,
parser_callback_t<BasicJsonType>& cb = nullptr,
parser_callback_t<BasicJsonType> cb = nullptr,
const bool allow_exceptions_ = true,
const bool skip_comments = false)
: callback(std::move(cb))