This commit is contained in:
Baptiste Wicht 2013-11-10 15:20:21 +01:00
parent 828688c08c
commit 31f1ef7923

View File

@ -114,9 +114,9 @@ public:
} }
void reset(pointer_type p = pointer_type()){ void reset(pointer_type p = pointer_type()){
if(array!= p){ if(array != p){
delete[] array; delete[] array;
array= nullptr; array= p;
} }
} }