diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:09:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-20 17:56:55 +0100 |
| commit | c336f86b9670c515230767dab9dc56128acf03db (patch) | |
| tree | 4fa90ff594a68d2fb6145a7992657496f9d1cdee /src/cxml.h | |
| parent | c333199bba3de3955af2c5f2debaa5c4bf9faa43 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/cxml.h')
| -rw-r--r-- | src/cxml.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -221,11 +221,11 @@ public: /** @return namespace prefix of this node */ std::string namespace_prefix () const; - boost::shared_ptr<Node> node_child (std::string) const; - boost::shared_ptr<Node> optional_node_child (std::string) const; + std::shared_ptr<Node> node_child (std::string) const; + std::shared_ptr<Node> optional_node_child (std::string) const; - std::list<boost::shared_ptr<Node> > node_children () const; - std::list<boost::shared_ptr<Node> > node_children (std::string) const; + std::list<std::shared_ptr<Node> > node_children () const; + std::list<std::shared_ptr<Node> > node_children (std::string) const; xmlpp::Node* node () const { return _node; @@ -238,8 +238,8 @@ private: mutable std::list<std::string> _taken; }; -typedef boost::shared_ptr<cxml::Node> NodePtr; -typedef boost::shared_ptr<const cxml::Node> ConstNodePtr; +typedef std::shared_ptr<cxml::Node> NodePtr; +typedef std::shared_ptr<const cxml::Node> ConstNodePtr; class Document : public Node { |
