🚨 fix warning

This commit is contained in:
Niels Lohmann committed 2024-11-08 23:47:11 +01:00
1 parent ad552c41be
commit 9561a122a3
4 files changed
+10 -18

No files matched your search

+2 -2
View File
@@ -353,9 +353,9 @@ class json_sax_dom_callback_parser
using parse_event_t = typename BasicJsonType::parse_event_t;
json_sax_dom_callback_parser(BasicJsonType& r,
const parser_callback_t& cb,
const parser_callback_t cb,
const bool allow_exceptions_ = true)
: root(r), callback(cb), allow_exceptions(allow_exceptions_)
: root(r), callback(std::move(cb)), allow_exceptions(allow_exceptions_)
{
keep_stack.push_back(true);
}