fix a missing [] in the delete call
This commit is contained in:
@@ -171,7 +171,7 @@ public:
|
|||||||
~DynArray()
|
~DynArray()
|
||||||
{
|
{
|
||||||
if ( mem != pool ) {
|
if ( mem != pool ) {
|
||||||
delete mem;
|
delete [] mem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void Push( T t )
|
void Push( T t )
|
||||||
|
|||||||
Reference in New Issue
Block a user