Static analyzer warning fix; I'm not sure there is any point in such initialization though, so it might need to be removed later

This commit is contained in:
Pavel Kirienko
2014-03-08 22:02:51 +04:00
parent 5a92b58e3e
commit 7e17e852d1
@@ -85,6 +85,7 @@ public:
if (ptr_)
ptr_->~T();
ptr_ = NULL;
std::fill(data_, data_ + sizeof(T), 0);
}
void construct()