Fully init OurReader

See #363, similar to #364.
This commit is contained in:
Christopher Dunn 2015-09-23 09:44:58 -05:00
parent 2e625dd9af
commit 979cbec237

View File

@ -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,