summaryrefslogtreecommitdiffstats
path: root/src/common/util/CountedPtr.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-12 01:00:52 +0000
committerDavid Robillard <d@drobilla.net>2006-09-12 01:00:52 +0000
commit23b7568ab7a87a79c186b8ddf3d3db4f1f934b06 (patch)
tree84ac925d65c940cc42fc88219758d7fc096f9dd4 /src/common/util/CountedPtr.h
parent16c866f220847ae23012318d2c1a5023076ab5fa (diff)
downloadingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.tar.gz
ingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.tar.bz2
ingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.zip
Bug fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@130 a436a847-0d15-0410-975c-d299462d15a1
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;
}
}