summaryrefslogtreecommitdiff
path: root/src/filters.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 02:32:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 02:32:49 -0500
commit2d58224001e502111812aaecbc56fdf618147bf8 (patch)
tree863c9182dbb92c888f66196cb5cb5459c2125091 /src/filters.h
parentee93b5c740abda29045a49e9c791262425e35105 (diff)
downloadfork-ledger-2d58224001e502111812aaecbc56fdf618147bf8.tar.gz
fork-ledger-2d58224001e502111812aaecbc56fdf618147bf8.tar.bz2
fork-ledger-2d58224001e502111812aaecbc56fdf618147bf8.zip
Break up multiple commodities in equity report
Diffstat (limited to 'src/filters.h')
-rw-r--r--src/filters.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filters.h b/src/filters.h
index 80bbe5b4..118838d2 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -466,8 +466,8 @@ public:
TRACE_DTOR(subtotal_posts);
}
- void report_subtotal(const char * spec_fmt = NULL,
- const optional<date_interval_t>& interval = none);
+ virtual void report_subtotal(const char * spec_fmt = NULL,
+ const optional<date_interval_t>& interval = none);
virtual void flush() {
if (values.size() > 0)
@@ -506,7 +506,7 @@ public:
TRACE_DTOR(interval_posts);
}
- void report_subtotal(const date_interval_t& interval);
+ virtual void report_subtotal(const date_interval_t& interval);
virtual void flush() {
if (last_post && interval.duration) {
@@ -537,7 +537,7 @@ public:
TRACE_DTOR(posts_as_equity);
}
- void report_subtotal();
+ virtual void report_subtotal();
virtual void flush() {
report_subtotal();