diff options
Diffstat (limited to 'libjsonpp/jsonpp.h')
-rw-r--r-- | libjsonpp/jsonpp.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libjsonpp/jsonpp.h b/libjsonpp/jsonpp.h index 7e5a393..d56ca99 100644 --- a/libjsonpp/jsonpp.h +++ b/libjsonpp/jsonpp.h @@ -2,7 +2,6 @@ #define JSON_H #include <glibmm/ustring.h> -#include <memory> #include <variant> #include <map> #include <list> @@ -20,9 +19,8 @@ namespace json { typedef bool Boolean; class Null { }; class Value; - typedef std::shared_ptr<Value> ValuePtr; - typedef std::map<std::string, ValuePtr> Object; - typedef std::list<ValuePtr> Array; + typedef std::map<std::string, Value> Object; + typedef std::list<Value> Array; typedef std::variant<Null, String, Number, Object, Array, Boolean> VT; class Value : public VT { public: |