Release 功能保留 CheckCapacity不调用它

This commit is contained in:
WangQiang 2016-09-19 07:14:34 +00:00
parent 619b7bcc14
commit 2121e1caad
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ bool Array::CheckCapacity(int len, int bak)
if (_free && _Arr != p)
{
// Release(); 会动标志位 不能用它
delete p;
delete _Arr;
}
_Arr = (char*)p;