mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 12:10:34 +08:00
precland: use 'default' for destructor
This commit is contained in:
@@ -71,10 +71,6 @@ PrecLand::PrecLand(Navigator *navigator) :
|
||||
{
|
||||
}
|
||||
|
||||
PrecLand::~PrecLand()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
PrecLand::on_inactive()
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ class PrecLand : public MissionBlock, public ModuleParams
|
||||
public:
|
||||
PrecLand(Navigator *navigator);
|
||||
|
||||
~PrecLand();
|
||||
~PrecLand() = default;
|
||||
|
||||
virtual void on_inactive();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user