aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/array.h b/common/array.h
index ace5ce7e4b..547b1a6b6f 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) {