Fixed small bug

This commit is contained in:
Pavol Marko 2004-07-27 19:53:38 +00:00
parent 04781dd75d
commit 4f64d4daad

View File

@ -76,7 +76,7 @@ template <class T> class CVector
delete [] m_Data; delete [] m_Data;
} }
if (m_Size < size) if (m_Size < size)
m_CurrentUsedSize = size; m_CurrentSize = size;
m_Data = newData; m_Data = newData;
m_Size = size; m_Size = size;
return true; return true;