diff options
author | John Wiegley <johnw@newartisans.com> | 2012-08-16 08:51:08 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-08-16 08:51:08 -0700 |
commit | 608d27a7743a0cf3431808dd144b855b2a99d075 (patch) | |
tree | d49e8d287f7345533544ede3c35ac9b9644dca21 /src | |
parent | bb9ba01cd2b566024055da1e352923c0f5d9037b (diff) | |
parent | 73aa585efae21cf596996f76330834a83da299ac (diff) | |
download | fork-ledger-608d27a7743a0cf3431808dd144b855b2a99d075.tar.gz fork-ledger-608d27a7743a0cf3431808dd144b855b2a99d075.tar.bz2 fork-ledger-608d27a7743a0cf3431808dd144b855b2a99d075.zip |
Merge pull request #74 from hwright/next
Fix a couple of compilation warnings
Diffstat (limited to 'src')
-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) { |