From de3893a08a9d85e672a09f21f20bc3148a4933b8 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Nov 2009 06:01:11 -0500 Subject: Added missing TRACE_CTOR calls --- src/annotate.h | 6 ++++-- src/commodity.h | 10 +++++++--- src/scope.h | 4 +++- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'src') 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 { - base_t() {} + base_t() { + TRACE_CTOR(base_t, ""); + } public: typedef std::map history_map; @@ -236,7 +238,7 @@ public: const shared_ptr& _base) : delegates_flags(*_base.get()), base(_base), parent_(_parent), annotated(false) { - TRACE_CTOR(commodity_t, ""); + TRACE_CTOR(commodity_t, "commodity_pool_t *, shared_ptr"); } virtual ~commodity_t() { TRACE_DTOR(commodity_t); @@ -394,7 +396,9 @@ private: protected: explicit commodity_t() : delegates_flags(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. */ -- cgit v1.2.3