From dbcf32baf0af10eeaac33460dd617bf1de3075ca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 8 Jan 2021 14:09:08 +0100 Subject: Use std::vector instead of std::list. --- src/cxml.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cxml.h') diff --git a/src/cxml.h b/src/cxml.h index 2bdde74..4fccbae 100644 --- a/src/cxml.h +++ b/src/cxml.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include /* Hack for OS X compile failure; see https://bugs.launchpad.net/hugin/+bug/910160 */ #ifdef check @@ -223,8 +223,8 @@ public: std::shared_ptr node_child (std::string) const; std::shared_ptr optional_node_child (std::string) const; - std::list > node_children () const; - std::list > node_children (std::string) const; + std::vector> node_children () const; + std::vector> node_children (std::string) const; xmlpp::Node* node () const { return _node; @@ -234,7 +234,7 @@ protected: xmlpp::Node* _node; private: - mutable std::list _taken; + mutable std::vector _taken; }; typedef std::shared_ptr NodePtr; -- cgit v1.2.3