X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/10c0d7324d1a25feebaaf6f5bf9b6054e03dd0b3..02efb4e1196ca467e796f65ef1d49db27a5254f8:/stglibs/json.lib/include/stg/json_parser.h 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;