From 961b30926b3b9f2b3e9c1a99df3f25fea6b13118 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 26 Jul 2008 04:08:55 -0400 Subject: --verify works again, but the memory totals at the end still need work. --- times.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'times.h') diff --git a/times.h b/times.h index db628d87..df5bd75b 100644 --- a/times.h +++ b/times.h @@ -86,6 +86,20 @@ struct interval_t TRACE_CTOR(interval_t, "int, int, int, const datetime_t&, const datetime_t&"); } + interval_t(const interval_t& other) + : years(other.years), + months(other.months), + days(other.days), + hours(other.hours), + minutes(other.minutes), + seconds(other.seconds), + + begin(other.begin), + end(other.end), + + advanced(other.advanced) { + TRACE_CTOR(interval_t, "copy"); + } interval_t(const string& desc) : years(0), months(0), days(0), @@ -149,7 +163,7 @@ extern bool day_before_month; #if 0 struct intorchar { - int ival; + int ival; string sval; intorchar() : ival(-1) {} -- cgit v1.2.3