From e50abb56455791774bf75e786234e8d2a637d63a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 14 Feb 2009 04:17:46 -0400 Subject: Removed interval_t::advanced, which was unused --- src/times.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/times.h') diff --git a/src/times.h b/src/times.h index 190e5c6b..2d47d60b 100644 --- a/src/times.h +++ b/src/times.h @@ -131,13 +131,11 @@ struct interval_t date_t begin; date_t end; - mutable bool advanced; - interval_t(int _days = 0, int _months = 0, int _years = 0, const date_t& _begin = date_t(), const date_t& _end = date_t()) : years(_years), months(_months), days(_days), - begin(_begin), end(_end), advanced(false) { + begin(_begin), end(_end) { TRACE_CTOR(interval_t, "int, int, int, const date_t&, const date_t&"); } interval_t(const interval_t& other) @@ -145,12 +143,11 @@ struct interval_t months(other.months), days(other.days), begin(other.begin), - end(other.end), - advanced(other.advanced) { + end(other.end) { TRACE_CTOR(interval_t, "copy"); } interval_t(const string& desc) - : years(0), months(0), days(0), begin(), end(), advanced(false) { + : years(0), months(0), days(0), begin(), end() { TRACE_CTOR(interval_t, "const string&"); std::istringstream stream(desc); parse(stream); -- cgit v1.2.3