summaryrefslogtreecommitdiff
path: root/src/annotate.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 06:01:11 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 06:01:11 -0500
commitde3893a08a9d85e672a09f21f20bc3148a4933b8 (patch)
treec8fb045229f4c2cc51bbb5408203020a1eccc19a /src/annotate.h
parent09e5b00e9268ebb9c71b63660e62e5d0b98c776f (diff)
downloadfork-ledger-de3893a08a9d85e672a09f21f20bc3148a4933b8.tar.gz
fork-ledger-de3893a08a9d85e672a09f21f20bc3148a4933b8.tar.bz2
fork-ledger-de3893a08a9d85e672a09f21f20bc3148a4933b8.zip
Added missing TRACE_CTOR calls
Diffstat (limited to 'src/annotate.h')
-rw-r--r--src/annotate.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/annotate.h b/src/annotate.h
index 17c8a637..77dd9372 100644
--- a/src/annotate.h
+++ b/src/annotate.h
@@ -192,7 +192,7 @@ public:
explicit annotated_commodity_t(commodity_t * _ptr,
const annotation_t& _details)
: commodity_t(_ptr->parent_, _ptr->base), ptr(_ptr), details(_details) {
- TRACE_CTOR(annotated_commodity_t, "");
+ TRACE_CTOR(annotated_commodity_t, "commodity_t *, annotation_t");
annotated = true;
}
virtual ~annotated_commodity_t() {
@@ -216,7 +216,9 @@ public:
#if defined(HAVE_BOOST_SERIALIZATION)
private:
- explicit annotated_commodity_t() : ptr(NULL) {}
+ explicit annotated_commodity_t() : ptr(NULL) {
+ TRACE_CTOR(annotated_commodity_t, "");
+ }
/** Serialization. */