summaryrefslogtreecommitdiff
path: root/src/report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.cc')
-rw-r--r--src/report.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/report.cc b/src/report.cc
index 91de2eb5..28836d0f 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -321,7 +321,12 @@ namespace {
report_t& report;
posts_flusher(post_handler_ptr _handler, report_t& _report)
- : handler(_handler), report(_report) {}
+ : handler(_handler), report(_report) {
+ TRACE_CTOR(posts_flusher, "post_handler_ptr, report_t&");
+ }
+ ~posts_flusher() throw() {
+ TRACE_DTOR(posts_flusher);
+ }
void operator()(const value_t&) {
report.session.journal->clear_xdata();
@@ -1113,7 +1118,7 @@ option_t<report_t> * report_t::lookup_option(const char * p)
else OPT_(display_);
else OPT(display_amount_);
else OPT(display_total_);
- else OPT_ALT(dow, days-of-week);
+ else OPT_ALT(dow, days_of_week);
else OPT(date_width_);
break;
case 'e':