1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

🚨 remove redundant assertions

This commit is contained in:
Niels Lohmann
2020-05-22 14:19:07 +02:00
parent a82c80e9af
commit 88292d9499
2 changed files with 0 additions and 6 deletions

View File

@ -22493,8 +22493,6 @@ class basic_json
input_format_t format = input_format_t::json,
const bool strict = true)
{
assert(sax);
auto ia = detail::input_adapter(std::forward<InputType>(i));
return format == input_format_t::json
? parser(std::move(ia)).sax_parse(sax, strict)
@ -22507,7 +22505,6 @@ class basic_json
input_format_t format = input_format_t::json,
const bool strict = true)
{
assert(sax);
auto ia = i.get();
return format == input_format_t::json
? parser(std::move(ia)).sax_parse(sax, strict)