summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-18 14:01:43 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-18 14:01:43 +0100
commit70a3d87890fa5e57e1da3d0f4ffacd18285a92ae (patch)
tree680935b2b3dd81717bc1582fd02e60a0d4ff7ade /src
parent4ad7c9c1ad624fc811ad1b0c34e62657f1f59998 (diff)
Tweak C++ > > to >> for C++11.
Diffstat (limited to 'src')
-rw-r--r--src/cxml.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cxml.cc b/src/cxml.cc
index 922a3d7..b46cd6b 100644
--- a/src/cxml.cc
+++ b/src/cxml.cc
@@ -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)));