diff options
author | Sebastian Geerken <devnull@localhost> | 2014-03-03 16:25:53 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-03-03 16:25:53 +0100 |
commit | 2e77d159b03637c5d8c280f586b5c08b6e18f155 (patch) | |
tree | 9e119f8751f6dbc30eeaead2580bbb8470505113 /lout/container.cc | |
parent | 3102fdcf9dc02d0db06cb2b9095ef1d50662b1f8 (diff) |
Some more RTFL.
Diffstat (limited to 'lout/container.cc')
-rw-r--r-- | lout/container.cc | 4 |
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) |