summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/xmlfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/xmlfile.h')
-rw-r--r--src/lib/util/xmlfile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/util/xmlfile.h b/src/lib/util/xmlfile.h
index 0780172b0c2..814c27aaede 100644
--- a/src/lib/util/xmlfile.h
+++ b/src/lib/util/xmlfile.h
@@ -89,8 +89,9 @@ public:
data_node *get_parent() { return m_parent; }
data_node const *get_parent() const { return m_parent; }
- // count the number of child nodes
- int count_children() const;
+ // count the number of children
+ std::size_t count_children() const;
+ std::size_t count_attributes() const;
// get the first child
data_node *get_first_child() { return m_first_child; }