diff --git a/src/Jzon.cpp b/src/Jzon.cpp index 50729e09..89463f79 100644 --- a/src/Jzon.cpp +++ b/src/Jzon.cpp @@ -884,10 +884,10 @@ namespace Jzon } - Parser::Parser(Node &root) : root(root) + Parser::Parser(Node &root) : jsonSize(0), cursor(0), root(root) { } - Parser::Parser(Node &root, const std::string &json) : root(root) + Parser::Parser(Node &root, const std::string &json) : jsonSize(0), cursor(0), root(root) { SetJson(json); }