summaryrefslogtreecommitdiffstats
path: root/src/common/util/CountedPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util/CountedPtr.h')
-rw-r--r--src/common/util/CountedPtr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util/CountedPtr.h b/src/common/util/CountedPtr.h
index 81604e45..d1a48a58 100644
--- a/src/common/util/CountedPtr.h
+++ b/src/common/util/CountedPtr.h
@@ -36,14 +36,14 @@ namespace boost {
assert(std::find(counted_ptr_counters.begin(), counted_ptr_counters.end(),
(void*)object) == counted_ptr_counters.end());
counted_ptr_counters.push_back(object);
- //std::cerr << "Creating " << typeid(object).name() << " Pointer to "
- //<< object << std::endl;
+ //std::cerr << "Creating CountedPtr to "
+ // << object << ", count = " << cnt << std::endl;
}
static void sp_scalar_destructor_hook(void* object, unsigned long cnt, void* ptr) {
counted_ptr_counters.remove(object);
- //std::cerr << "Destroying " << typeid(object).name() << " Pointer to "
- //<< object << std::endl;
+ //std::cerr << "Destroying CountedPtr to "
+ // << object << ", count = " << cnt << std::endl;
}
}