From 8f8917369c950c4ba77fbef4bc0a475f34fc3cbe Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 9 Feb 2018 12:00:08 +1100 Subject: [PATCH] Copter: correct use of parent class constructors --- ArduCopter/mode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopter/mode.h b/ArduCopter/mode.h index 593725d8ba..28db1327a3 100644 --- a/ArduCopter/mode.h +++ b/ArduCopter/mode.h @@ -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;