summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-17 21:30:07 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-17 21:51:51 -0500
commitc28d828d8e24fe637a74674bedc9bc0cbdabca1c (patch)
tree5b549d4af694193d950162890ae1c5150a24b73a /src/filters.cc
parent4bc830a2c526cad108695104503f377997e14e7e (diff)
downloadfork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.gz
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.bz2
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.zip
Renamed date_interval_t::end to finish
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters.cc b/src/filters.cc
index bef4dc24..5a92421b 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -784,7 +784,7 @@ void budget_posts::report_budget_items(const date_t& date)
assert(begin);
if (*begin <= date &&
- (! pair.first.end || *begin < *pair.first.end)) {
+ (! pair.first.finish || *begin < *pair.first.finish)) {
post_t& post = *pair.second;
DEBUG("budget.generate", "Reporting budget for "
@@ -905,8 +905,8 @@ void forecast_posts::flush()
}
date_t& begin = *(*least).first.start;
- if ((*least).first.end)
- assert(begin < *(*least).first.end);
+ if ((*least).first.finish)
+ assert(begin < *(*least).first.finish);
// If the next date in the series for this periodic posting is more than 5
// years beyond the last valid post we generated, drop it from further