diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-14 04:17:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-14 04:17:46 -0400 |
commit | e50abb56455791774bf75e786234e8d2a637d63a (patch) | |
tree | 1613b600798345721da5a55dc0473626a79cf65c /src/times.h | |
parent | f15ae10a52f487694b3e9a5963968076fb21dc7b (diff) | |
download | fork-ledger-e50abb56455791774bf75e786234e8d2a637d63a.tar.gz fork-ledger-e50abb56455791774bf75e786234e8d2a637d63a.tar.bz2 fork-ledger-e50abb56455791774bf75e786234e8d2a637d63a.zip |
Removed interval_t::advanced, which was unused
Diffstat (limited to 'src/times.h')
-rw-r--r-- | src/times.h | 9 |
1 files changed, 3 insertions, 6 deletions
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); |