From c28d828d8e24fe637a74674bedc9bc0cbdabca1c Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 17 Nov 2009 21:30:07 -0500 Subject: Renamed date_interval_t::end to finish --- src/filters.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/filters.cc') 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 -- cgit v1.2.3