From 388044dec99a9ed27bfdefe3c07234e4b27b3997 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 14 Feb 2009 04:27:15 -0400 Subject: Fixed the way interval_t objects are initialized --- src/times.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/times.h') diff --git a/src/times.h b/src/times.h index 2d47d60b..54c1dc80 100644 --- a/src/times.h +++ b/src/times.h @@ -162,10 +162,10 @@ struct interval_t } void set_start(const date_t& moment) { - begin = moment; + begin = first(moment); } - date_t first(const optional& moment = none) const; + date_t first(const optional& moment = none); date_t increment(const date_t&) const; void parse(std::istream& in); -- cgit v1.2.3