diff --git a/src/lib_json/json_reader.cpp b/src/lib_json/json_reader.cpp index a2b7885..ade7890 100644 --- a/src/lib_json/json_reader.cpp +++ b/src/lib_json/json_reader.cpp @@ -1031,7 +1031,9 @@ private: OurReader::OurReader(OurFeatures const& features) : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), - lastValue_(), commentsBefore_(), features_(features), collectComments_() { + lastValue_(), commentsBefore_(), + stackDepth_(0), + features_(features), collectComments_() { } bool OurReader::parse(const char* beginDoc,