summaryrefslogtreecommitdiff
path: root/lout/container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lout/container.cc')
-rw-r--r--lout/container.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lout/container.cc b/lout/container.cc
index dcac4726..db1cc560 100644
--- a/lout/container.cc
+++ b/lout/container.cc
@@ -104,6 +104,8 @@ void Collection::intoStringBuffer(misc::StringBuffer *sb)
Vector::Vector(int initSize, bool ownerOfObjects)
{
+ DBG_OBJ_CREATE ("lout::container::untyped::Vector");
+
numAlloc = initSize == 0 ? 1 : initSize;
this->ownerOfObjects = ownerOfObjects;
numElements = 0;
@@ -114,6 +116,8 @@ Vector::~Vector()
{
clear();
free(array);
+
+ DBG_OBJ_DELETE ();
}
void Vector::put(Object *newElement, int newPos)