diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-05-01 18:32:16 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-05-01 18:32:16 +0100 |
commit | 72a7f6637d042cba0cb14b8ca7ffc9416b7c6b28 (patch) | |
tree | e16ad2ff7bd159ba5964230f4295be9e8c98e543 | |
parent | Don't install the flex header (diff) | |
download | libjsonpp-72a7f6637d042cba0cb14b8ca7ffc9416b7c6b28.tar.bz2 libjsonpp-72a7f6637d042cba0cb14b8ca7ffc9416b7c6b28.tar.xz libjsonpp-72a7f6637d042cba0cb14b8ca7ffc9416b7c6b28.zip |
Replace boost::shared_ptr
-rw-r--r-- | libjsonpp/jsonpp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjsonpp/jsonpp.h b/libjsonpp/jsonpp.h index df628ae..5845ec4 100644 --- a/libjsonpp/jsonpp.h +++ b/libjsonpp/jsonpp.h @@ -2,7 +2,7 @@ #define JSON_H #include <glibmm/ustring.h> -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/variant.hpp> #include <map> #include <list> @@ -20,7 +20,7 @@ namespace json { typedef bool Boolean; class Null { }; class Value; - typedef boost::shared_ptr<Value> ValuePtr; + typedef std::shared_ptr<Value> ValuePtr; typedef std::map<std::string, ValuePtr> Object; typedef std::list<ValuePtr> Array; typedef boost::variant<Null, String, Number, Object, Array, Boolean> VT; |