Add fixes suggested by using "infer"

This commit is contained in:
Mike Brady
2017-09-03 22:46:57 +01:00
parent 31a09bb368
commit 48c1d3eb20
6 changed files with 138 additions and 63 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ public:
_size = size;
}
}
setZero();
if (_data)
setZero();
}
size_t size() const