diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-02 18:36:34 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-02 18:36:34 +0000 |
commit | 17ac090dd1dd245cf1e24b62b7333ba9be571bde (patch) | |
tree | 488bb1dae6478dd72cc3cb8a433cbac736f9c387 /lib/jsonParse-persistence.h | |
parent | Parse colour values as they're read (diff) | |
download | ilt-17ac090dd1dd245cf1e24b62b7333ba9be571bde.tar.bz2 ilt-17ac090dd1dd245cf1e24b62b7333ba9be571bde.tar.xz ilt-17ac090dd1dd245cf1e24b62b7333ba9be571bde.zip |
Add ParseBase
Acts as a base class for persistence parser, encompasses the parse stack and manages shared objects
Diffstat (limited to 'lib/jsonParse-persistence.h')
-rw-r--r-- | lib/jsonParse-persistence.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/jsonParse-persistence.h b/lib/jsonParse-persistence.h index fa5e772..a676282 100644 --- a/lib/jsonParse-persistence.h +++ b/lib/jsonParse-persistence.h @@ -9,7 +9,7 @@ #include <string_view> namespace Persistence { - class JsonParsePersistence : public json::jsonParser { + class JsonParsePersistence : public json::jsonParser, ParseBase { public: template<typename T> inline T @@ -34,8 +34,6 @@ namespace Persistence { void endArray() override; void endObject() override; - Stack stk; - template<typename T> inline void pushValue(T && value); inline SelectionPtr & current(); }; |