summaryrefslogtreecommitdiff
path: root/src/history.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-18 01:01:30 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-18 01:01:30 -0500
commitf9088f88360019bb4be8743dd8091036502adb9c (patch)
tree8a4fe8e1bba0ccc65a1809874ebbd249577fba57 /src/history.cc
parente7d26d53cfc73cc706a6b4903f5c5d6641bdeae8 (diff)
downloadfork-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.cc7
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 {