summaryrefslogtreecommitdiff
path: root/src/xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.cc')
-rw-r--r--src/xml.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xml.cc b/src/xml.cc
index b9ee56a8..35c4fe12 100644
--- a/src/xml.cc
+++ b/src/xml.cc
@@ -126,13 +126,7 @@ XMLNode::ignore_node (string name)
Time
XMLNode::time_attribute (string name)
{
- string const t = string_attribute (name);
-
- vector<string> b;
- boost::split (b, t, is_any_of (":"));
- assert (b.size() == 4);
-
- return Time (lexical_cast<int> (b[0]), lexical_cast<int> (b[1]), lexical_cast<int> (b[2]), lexical_cast<int> (b[3]));
+ return Time (string_attribute (name));
}
string