projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad7c9c
)
Tweak C++ > > to >> for C++11.
author
Carl Hetherington
<cth@carlh.net>
Mon, 18 Jan 2021 13:01:43 +0000
(14:01 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 18 Jan 2021 13:01:43 +0000
(14:01 +0100)
src/cxml.cc
patch
|
blob
|
history
diff --git
a/src/cxml.cc
b/src/cxml.cc
index 922a3d713a45849d2078438ecfb39b1ee61915fc..b46cd6b97b1cb3918d8cb6ac0b981b7c1f468dd7 100644
(file)
--- 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)));