diff options
Diffstat (limited to 'common/array.h')
| -rw-r--r-- | common/array.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/common/array.h b/common/array.h index 7852cabf06..0b5a65e9bd 100644 --- a/common/array.h +++ b/common/array.h @@ -222,7 +222,7 @@ public:  		T *old_storage = _storage;  		_capacity = newCapacity; -		_storage = new T[newCapacity](); +		_storage = new T[newCapacity];  		assert(_storage);  		if (old_storage) { @@ -273,7 +273,7 @@ protected:  				// If there is not enough space, allocate more and  				// copy old elements over.  				uint newCapacity = roundUpCapacity(_size + n); -				newStorage = new T[newCapacity](); +				newStorage = new T[newCapacity];  				assert(newStorage);  				copy(_storage, _storage + idx, newStorage);  				pos = newStorage + idx; | 
