From a50a1d52818e9a50112b0b6c025386cde77475b0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 5 May 2018 22:15:05 +0100 Subject: Vector Use vector instead list, it's a better match for what we want. --- libjsonpp/jsonpp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libjsonpp/jsonpp.h b/libjsonpp/jsonpp.h index 1a57389..a81e0e7 100644 --- a/libjsonpp/jsonpp.h +++ b/libjsonpp/jsonpp.h @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #pragma GCC visibility push(default) @@ -26,7 +26,7 @@ namespace json { public: using M::M; }; - typedef std::list A; + typedef std::vector A; class Array : public A { public: using A::A; -- cgit v1.2.3