git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@997 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
jfbastien 2009-03-05 12:21:52 +00:00
parent 8d19f398f4
commit f167b31cbb

View file

@ -103,7 +103,7 @@ private:
{ {
// 11-17-2000: comment added: // 11-17-2000: comment added:
// No need to allocate (capacity + 1) to // No need to allocate (capacity + 1) to
// accomodate the terminating 0, because Data already // accommodate the terminating 0, because Data already
// has one one character in there // has one one character in there
pData_ = static_cast<Data*>( pData_ = static_cast<Data*>(
malloc(sizeof(Data) + capacity * sizeof(E))); malloc(sizeof(Data) + capacity * sizeof(E)));