X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/10c0d7324d1a25feebaaf6f5bf9b6054e03dd0b3..e39f173d25ae650ee843e3d1c311abe9c1cb5ee9:/stglibs/json.lib/include/stg/json_parser.h?ds=sidebyside diff --git a/stglibs/json.lib/include/stg/json_parser.h b/stglibs/json.lib/include/stg/json_parser.h index 73009d2f..a6142579 100644 --- a/stglibs/json.lib/include/stg/json_parser.h +++ b/stglibs/json.lib/include/stg/json_parser.h @@ -51,11 +51,11 @@ struct NodeParser class Parser { public: - Parser(NodeParser* topParser); + explicit Parser(NodeParser* topParser); virtual ~Parser(); bool append(const char* data, size_t size); - bool done(); + bool last(); private: class Impl;