mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-11 06:13:34 +08:00
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:
@@ -85,6 +85,7 @@ public:
|
||||
if (ptr_)
|
||||
ptr_->~T();
|
||||
ptr_ = NULL;
|
||||
std::fill(data_, data_ + sizeof(T), 0);
|
||||
}
|
||||
|
||||
void construct()
|
||||
|
||||
Reference in New Issue
Block a user