diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-14 04:13:49 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-14 04:14:02 -0400 |
commit | 2bff7565c1762202c7c01bf7cb50bd9ce351031a (patch) | |
tree | d2d85886e2065d640adde88e1eebd816c41cefa1 /src/filters.cc | |
parent | ad02a482b6ee5bfd273acaa8730eb741b50f37f6 (diff) | |
download | fork-ledger-2bff7565c1762202c7c01bf7cb50bd9ce351031a.tar.gz fork-ledger-2bff7565c1762202c7c01bf7cb50bd9ce351031a.tar.bz2 fork-ledger-2bff7565c1762202c7c01bf7cb50bd9ce351031a.zip |
Changed interval_t::start to interval_t::set_start, to be more clear about how
it differs from interval_t::first.
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc index 4ccdf66c..29f517d6 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -450,7 +450,7 @@ void interval_xacts::operator()(xact_t& xact) if (interval) { if (! started) { if (! is_valid(interval.begin)) - interval.start(date); + interval.set_start(date); start = interval.begin; started = true; } @@ -600,7 +600,7 @@ void budget_xacts::report_budget_items(const date_t& date) foreach (pending_xacts_list::value_type& pair, pending_xacts) { date_t& begin = pair.first.begin; if (! is_valid(begin)) { - pair.first.start(date); + pair.first.set_start(date); begin = pair.first.begin; } @@ -667,7 +667,7 @@ void forecast_xacts::add_xact(const interval_t& period, xact_t& xact) interval_t& i = pending_xacts.back().first; if (! is_valid(i.begin)) { - i.start(current_date); + i.set_start(current_date); i.begin = i.increment(i.begin); } else { while (i.begin < current_date) |