summaryrefslogtreecommitdiff
path: root/src/history.cc
diff options
context:
space:
mode:
authorHyrum Wright <hyrum@hyrumwright.org>2012-08-14 01:23:32 -0400
committerHyrum Wright <hyrum@hyrumwright.org>2012-08-14 01:23:32 -0400
commit73aa585efae21cf596996f76330834a83da299ac (patch)
treee6e8a8f0a6373fb127938c3f06f26a4e18027154 /src/history.cc
parent6ccb5e96873716086e6d86a491df862627de5451 (diff)
downloadfork-ledger-73aa585efae21cf596996f76330834a83da299ac.tar.gz
fork-ledger-73aa585efae21cf596996f76330834a83da299ac.tar.bz2
fork-ledger-73aa585efae21cf596996f76330834a83da299ac.zip
Fix compilation warning: ensure a destructor is properly defined to avoid
compiler confusion.
Diffstat (limited to 'src/history.cc')
-rw-r--r--src/history.cc4
1 files changed, 4 insertions, 0 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);