summaryrefslogtreecommitdiff
path: root/src/commodity.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/commodity.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/commodity.h')
-rw-r--r--src/commodity.h10
1 files changed, 7 insertions, 3 deletions
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. */