summaryrefslogtreecommitdiff
path: root/src/xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.cc')
-rw-r--r--src/xml.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xml.cc b/src/xml.cc
index 21912bdf..0f0d2d47 100644
--- a/src/xml.cc
+++ b/src/xml.cc
@@ -157,6 +157,12 @@ XMLNode::float_attribute (string name)
return lexical_cast<float> (string_attribute (name));
}
+int64_t
+XMLNode::int64_attribute (string name)
+{
+ return lexical_cast<int64_t> (string_attribute (name));
+}
+
void
XMLNode::done ()
{