projects
/
platform
/
upstream
/
jsoncpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e625dd
)
Fully init OurReader
author
Christopher Dunn
<cdunn2001@gmail.com>
Wed, 23 Sep 2015 14:44:58 +0000
(09:44 -0500)
committer
Christopher Dunn
<cdunn2001@gmail.com>
Wed, 23 Sep 2015 14:44:58 +0000
(09:44 -0500)
See #363, similar to #364.
src/lib_json/json_reader.cpp
patch
|
blob
|
history
diff --git
a/src/lib_json/json_reader.cpp
b/src/lib_json/json_reader.cpp
index
a2b7885
..
ade7890
100644
(file)
--- 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,