diff options
Diffstat (limited to 'src/history.cc')
-rw-r--r-- | src/history.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/history.cc b/src/history.cc index f1e88401..d94ec647 100644 --- a/src/history.cc +++ b/src/history.cc @@ -423,7 +423,12 @@ commodity_history_t::find_price(const commodity_t& source, template <class Name> class label_writer { public: - label_writer(Name _name) : name(_name) {} + label_writer(Name _name) : name(_name) { + TRACE_CTOR(label_writer<Name>, "Name"); + } + ~label_writer() throw() { + TRACE_DTOR(label_writer<Name>); + } template <class VertexOrEdge> void operator()(std::ostream& out, const VertexOrEdge& v) const { |