summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/history.cc4
-rw-r--r--src/history.h1
2 files changed, 5 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);
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