Copter: correct use of parent class constructors

This commit is contained in:
Peter Barker 2018-02-09 12:00:08 +11:00 committed by Andrew Tridgell
parent 18caed135e
commit 8f8917369c
1 changed files with 3 additions and 3 deletions

View File

@ -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;