mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 11:04:07 +08:00
precland: use 'default' for destructor
This commit is contained in:
parent
2e6904b8a4
commit
246be4f0ab
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user