summaryrefslogtreecommitdiff
path: root/src/filters.h
diff options
context:
space:
mode:
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();