🚨 remove redundant assertions
This commit is contained in:
parent
a82c80e9af
commit
88292d9499
2 changed files with 0 additions and 6 deletions
|
@ -6700,8 +6700,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)
|
||||
|
@ -6714,7 +6712,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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue