Browse Source

Copter: correct use of parent class constructors

mission-4.1.18
Peter Barker 7 years ago committed by Andrew Tridgell
parent
commit
8f8917369c
  1. 6
      ArduCopter/mode.h

6
ArduCopter/mode.h

@ -727,7 +727,7 @@ class ModeGuidedNoGPS : public ModeGuided {
public: public:
// inherit constructor // inherit constructor
using Copter::Mode::Mode; using Copter::ModeGuided::Mode;
bool init(bool ignore_checks) override; bool init(bool ignore_checks) override;
void run() override; void run() override;
@ -926,7 +926,7 @@ class ModeSmartRTL : public ModeRTL {
public: public:
// inherit constructor // inherit constructor
using Copter::Mode::Mode; using Copter::ModeRTL::Mode;
bool init(bool ignore_checks) override; bool init(bool ignore_checks) override;
void run() override; void run() override;
@ -1064,7 +1064,7 @@ class ModeAvoidADSB : public ModeGuided {
public: public:
// inherit constructor // inherit constructor
using Copter::Mode::Mode; using Copter::ModeGuided::Mode;
bool init(bool ignore_checks) override; bool init(bool ignore_checks) override;
void run() override; void run() override;

Loading…
Cancel
Save