diff options
-rw-r--r-- | src/history.cc | 4 | ||||
-rw-r--r-- | src/history.h | 1 | ||||
-rw-r--r-- | src/report.h | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/history.cc b/src/history.cc index 25335680..414fc15d 100644 --- a/src/history.cc +++ b/src/history.cc @@ -129,6 +129,10 @@ commodity_history_t::commodity_history_t() p_impl.reset(new commodity_history_impl_t); } +commodity_history_t::~commodity_history_t() +{ +} + void commodity_history_t::add_commodity(commodity_t& comm) { p_impl->add_commodity(comm); diff --git a/src/history.h b/src/history.h index 4362c9f9..b763cb0b 100644 --- a/src/history.h +++ b/src/history.h @@ -88,6 +88,7 @@ public: const datetime_t& oldest = datetime_t()); void print_map(std::ostream& out, const datetime_t& moment = datetime_t()); + ~commodity_history_t(); }; } // namespace ledger diff --git a/src/report.h b/src/report.h index 0f4fc103..4a02843e 100644 --- a/src/report.h +++ b/src/report.h @@ -123,7 +123,7 @@ public: TRACE_CTOR(report_t, "session_t&"); } report_t(const report_t& report) - : session(report.session), + : scope_t(report), session(report.session), output_stream(report.output_stream), terminus(report.terminus), budget_flags(report.budget_flags) { |