summaryrefslogtreecommitdiff
path: root/src/filters.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-06-17 16:54:02 +0100
committerJohn Wiegley <johnw@newartisans.com>2009-06-17 16:54:02 +0100
commitcb2e596725585c73ad8a7958773839966225d850 (patch)
tree54e537e8234f3b79610ca1b28cb5febabf3cda0c /src/filters.h
parent81db8a38fe0ca02c86d6e23fca8464616f7c3da6 (diff)
downloadledger-cb2e596725585c73ad8a7958773839966225d850.tar.gz
ledger-cb2e596725585c73ad8a7958773839966225d850.tar.bz2
ledger-cb2e596725585c73ad8a7958773839966225d850.zip
The --revalued option now honors the -e terminus
Diffstat (limited to 'src/filters.h')
-rw-r--r--src/filters.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/filters.h b/src/filters.h
index 14b97c23..050e3dcf 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -468,13 +468,7 @@ public:
clear_xacts_posts(xact_temps);
}
- virtual void flush() {
- if (last_post && last_post->date() <= CURRENT_DATE()) {
- output_revaluation(last_post, CURRENT_DATE());
- last_post = NULL;
- }
- item_handler<post_t>::flush();
- }
+ virtual void flush();
void output_revaluation(post_t * post, const date_t& current);
void output_rounding(post_t * post);