mirror of
https://github.com/nlohmann/json.git
synced 2026-10-24 23:08:56 +00:00
Merge develop into perf/view-compare
Develop silenced the same Infer false positive in materialize() (#5905): its version is kept. single_include is a fresh amalgamation. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -143,8 +143,7 @@ BasicJsonType materialize(const document_data& d, const node* n)
|
||||
case value_t::binary:
|
||||
case value_t::discarded:
|
||||
default:
|
||||
// false positive: a value in an object follows its key(), which set the
|
||||
// member the parser stores it in
|
||||
// false positive: the parser's frame stack points into its own storage (never null)
|
||||
// @infer-ignore NULLPTR_DEREFERENCE
|
||||
sax.null();
|
||||
break;
|
||||
|
||||
Generated
+1
-2
@@ -7185,8 +7185,7 @@ BasicJsonType materialize(const document_data& d, const node* n)
|
||||
case value_t::binary:
|
||||
case value_t::discarded:
|
||||
default:
|
||||
// false positive: a value in an object follows its key(), which set the
|
||||
// member the parser stores it in
|
||||
// false positive: the parser's frame stack points into its own storage (never null)
|
||||
// @infer-ignore NULLPTR_DEREFERENCE
|
||||
sax.null();
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user