diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-26 04:08:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-26 04:08:55 -0400 |
commit | 961b30926b3b9f2b3e9c1a99df3f25fea6b13118 (patch) | |
tree | f0f5efcc0b63f337c4838b8aad46dea2cd7926e4 /times.h | |
parent | ee396957226e2273bc60ede7192c27038c432f24 (diff) | |
download | fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.gz fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.bz2 fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.zip |
--verify works again, but the memory totals at the end still need work.
Diffstat (limited to 'times.h')
-rw-r--r-- | times.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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) {} |