diff options
Diffstat (limited to 'src/common/dumb_ptr.hpp')
-rw-r--r-- | src/common/dumb_ptr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/dumb_ptr.hpp b/src/common/dumb_ptr.hpp index 91293c6..9321036 100644 --- a/src/common/dumb_ptr.hpp +++ b/src/common/dumb_ptr.hpp @@ -98,6 +98,7 @@ public: void new_(size_t z) { impl = new T[z](); + sz = z; } static dumb_ptr<T[]> make(size_t z) |