summaryrefslogtreecommitdiff
path: root/src/xml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-18 14:51:49 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-18 14:51:49 +0000
commit95dc81ecbc031b6ffaee2053884115de4ee4b393 (patch)
treeb6f7fd430fe5de560bc6505eafc9c4e3729e7bed /src/xml.h
parentc41e0eb748cd39ce6ebe0c7c354e99ccf87a951b (diff)
parent485794f8322b090a22da841961025b19642e42a2 (diff)
Merge branch '1.0' of git.carlh.net:git/libsub into 1.0
Diffstat (limited to 'src/xml.h')
-rw-r--r--src/xml.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml.h b/src/xml.h
index d62dbd6..d07188f 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -48,7 +48,7 @@ template <class T>
boost::shared_ptr<T> type_child (boost::shared_ptr<const cxml::Node> node, std::string name) {
return boost::shared_ptr<T> (new T (node->node_child (name)));
}
-
+
template <class T>
boost::shared_ptr<T>
optional_type_child (boost::shared_ptr<const cxml::Node> node, std::string name)
@@ -74,7 +74,7 @@ type_children (boost::shared_ptr<const cxml::Node> node, std::string name)
{
return type_children<T> (*node.get(), name);
}
-
+
template <class T>
std::list<boost::shared_ptr<T> >
type_grand_children (cxml::Node const & node, std::string name, std::string sub)
@@ -89,7 +89,7 @@ type_grand_children (boost::shared_ptr<const cxml::Node> node, std::string name,
{
return type_grand_children<T> (*node.get(), name, sub);
}
-
+
}
#endif