mirror of https://github.com/ArduPilot/ardupilot
Copter: correct use of parent class constructors
This commit is contained in:
parent
18caed135e
commit
8f8917369c
|
@ -727,7 +727,7 @@ class ModeGuidedNoGPS : public ModeGuided {
|
|||
|
||||
public:
|
||||
// inherit constructor
|
||||
using Copter::Mode::Mode;
|
||||
using Copter::ModeGuided::Mode;
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override;
|
||||
|
@ -926,7 +926,7 @@ class ModeSmartRTL : public ModeRTL {
|
|||
|
||||
public:
|
||||
// inherit constructor
|
||||
using Copter::Mode::Mode;
|
||||
using Copter::ModeRTL::Mode;
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override;
|
||||
|
@ -1064,7 +1064,7 @@ class ModeAvoidADSB : public ModeGuided {
|
|||
|
||||
public:
|
||||
// inherit constructor
|
||||
using Copter::Mode::Mode;
|
||||
using Copter::ModeGuided::Mode;
|
||||
|
||||
bool init(bool ignore_checks) override;
|
||||
void run() override;
|
||||
|
|
Loading…
Reference in New Issue