diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-18 01:01:30 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-18 01:01:30 -0500 |
commit | f9088f88360019bb4be8743dd8091036502adb9c (patch) | |
tree | 8a4fe8e1bba0ccc65a1809874ebbd249577fba57 /src/history.cc | |
parent | e7d26d53cfc73cc706a6b4903f5c5d6641bdeae8 (diff) | |
download | fork-ledger-f9088f88360019bb4be8743dd8091036502adb9c.tar.gz fork-ledger-f9088f88360019bb4be8743dd8091036502adb9c.tar.bz2 fork-ledger-f9088f88360019bb4be8743dd8091036502adb9c.zip |
Added --verify-memory and missing TRACE_[CD]TOR calls
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 { |