Suppress Clang-Tidy warnings (#4276)

This commit is contained in:
Niels Lohmann
2024-01-28 14:04:07 +01:00
committed by GitHub
parent 6a064e026a
commit c35d260c2f
12 changed files with 36 additions and 35 deletions
+2 -2
View File
@@ -632,9 +632,9 @@ class json_sax_dom_callback_parser
/// stack to model hierarchy of values
std::vector<BasicJsonType*> ref_stack {};
/// stack to manage which values to keep
std::vector<bool> keep_stack {};
std::vector<bool> keep_stack {}; // NOLINT(readability-redundant-member-init)
/// stack to manage which object keys to keep
std::vector<bool> key_keep_stack {};
std::vector<bool> key_keep_stack {}; // NOLINT(readability-redundant-member-init)
/// helper to hold the reference for the next object element
BasicJsonType* object_element = nullptr;
/// whether a syntax error occurred