Ticket #6542: storage_hpp.patch
File storage_hpp.patch, 559 bytes (added by , 11 years ago) |
---|
-
storage.hpp
201 201 unbounded_array &operator = (const unbounded_array &a) { 202 202 if (this != &a) { 203 203 resize (a.size_); 204 std::copy (a.data_, a.data_ + a.size_, data_); 204 if(a.data_ == NULL) { 205 data_ = NULL; 206 } else { 207 std::copy (a.data_, a.data_ + a.size_, data_); 208 } 205 209 } 206 210 return *this; 207 211 }