Made realloc argument clearer

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@22 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
aandrei 2002-05-10 00:56:08 +00:00
parent 6d27c9c0ce
commit b1b73884a5

View file

@ -103,7 +103,7 @@ namespace Loki
TrackerArray pNewArray = static_cast<TrackerArray>(
std::realloc(pTrackerArray,
sizeof(T) * (elements + 1)));
sizeof(*pTrackerArray) * (elements + 1)));
if (!pNewArray) throw std::bad_alloc();
// Delayed assignment for exception safety