summaryrefslogtreecommitdiff
path: root/xpath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'xpath.cc')
-rw-r--r--xpath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpath.cc b/xpath.cc
index 2c87f587..66880b5a 100644
--- a/xpath.cc
+++ b/xpath.cc
@@ -158,7 +158,7 @@ void xpath_t::token_t::next(std::istream& in, unsigned short flags)
length++;
interval_t timespan(buf);
kind = VALUE;
- value = timespan.first();
+ value = timespan.next();
} else {
kind = LBRACKET;
}