X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/10c0d7324d1a25feebaaf6f5bf9b6054e03dd0b3..892d3409f087a2dfb3daafdd5873114c400127a8:/stglibs/json.lib/include/stg/json_parser.h?ds=inline 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;