diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-05-18 21:55:09 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-05-18 21:55:09 -0700 |
commit | 69a36c1092c772f05badbab400888712129072ba (patch) | |
tree | a2c8ecf8216860c10acb2cb64af4d0660df2c4c3 /src/common/dumb_ptr.hpp | |
parent | ac359e696f162090840dab488a6ef4981d35bbda (diff) | |
download | tmwa-69a36c1092c772f05badbab400888712129072ba.tar.gz tmwa-69a36c1092c772f05badbab400888712129072ba.tar.bz2 tmwa-69a36c1092c772f05badbab400888712129072ba.tar.xz tmwa-69a36c1092c772f05badbab400888712129072ba.zip |
Fix silly bugs in the previous patch
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) |