diff --git a/common/array.h b/common/array.h index ace5ce7e4b4..547b1a6b6fb 100644 --- a/common/array.h +++ b/common/array.h @@ -195,7 +195,7 @@ public: T *old_storage = _storage; _capacity = newCapacity; - _storage = new T[newCapacity]; + _storage = new T[newCapacity](); assert(_storage); if (old_storage) {