Tweak C++ > > to >> for C++11.
authorCarl Hetherington <cth@carlh.net>
Mon, 18 Jan 2021 13:01:43 +0000 (14:01 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 18 Jan 2021 13:01:43 +0000 (14:01 +0100)
src/cxml.cc

index 922a3d713a45849d2078438ecfb39b1ee61915fc..b46cd6b97b1cb3918d8cb6ac0b981b7c1f468dd7 100644 (file)
@@ -83,7 +83,7 @@ cxml::Node::node_children () const
                throw Error ("No node to read children from");
        }
 
-       vector<shared_ptr<cxml::Node> > n;
+       vector<shared_ptr<cxml::Node>> n;
        for (auto i: _node->get_children()) {
                n.push_back (shared_ptr<Node> (new Node (i)));
        }
@@ -98,7 +98,7 @@ cxml::Node::node_children (string name) const
           how get_path works.
        */
 
-       vector<shared_ptr<cxml::Node> > n;
+       vector<shared_ptr<cxml::Node>> n;
        for (auto i: _node->get_children()) {
                if (i->get_name() == name) {
                        n.push_back (shared_ptr<Node> (new Node (i)));