summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/annotate.h6
-rw-r--r--src/commodity.h10
-rw-r--r--src/scope.h4
3 files changed, 14 insertions, 6 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. */
diff --git a/src/commodity.h b/src/commodity.h
index d91fce85..1df1ab18 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -91,7 +91,9 @@ class commodity_t
public:
class base_t : public noncopyable, public supports_flags<uint_least16_t>
{
- base_t() {}
+ base_t() {
+ TRACE_CTOR(base_t, "");
+ }
public:
typedef std::map<const datetime_t, amount_t> history_map;
@@ -236,7 +238,7 @@ public:
const shared_ptr<base_t>& _base)
: delegates_flags<uint_least16_t>(*_base.get()), base(_base),
parent_(_parent), annotated(false) {
- TRACE_CTOR(commodity_t, "");
+ TRACE_CTOR(commodity_t, "commodity_pool_t *, shared_ptr<base_t>");
}
virtual ~commodity_t() {
TRACE_DTOR(commodity_t);
@@ -394,7 +396,9 @@ private:
protected:
explicit commodity_t()
: delegates_flags<uint_least16_t>(temp_flags), parent_(NULL),
- annotated(false) {}
+ annotated(false) {
+ TRACE_CTOR(commodity_t, "");
+ }
private:
/** Serialization. */
diff --git a/src/scope.h b/src/scope.h
index fc330ba0..7f2680d6 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -219,7 +219,9 @@ public:
#if defined(HAVE_BOOST_SERIALIZATION)
private:
- explicit call_scope_t() {}
+ explicit call_scope_t() {
+ TRACE_CTOR(call_scope_t, "");
+ }
/** Serialization. */