From 2ab2555e0bd046be012fb9e783de38e31a4c3f0f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 25 Feb 2022 16:06:26 +1100 Subject: [PATCH] AC_PrecLand: include cleanups --- libraries/AC_PrecLand/AC_PrecLand_StateMachine.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/AC_PrecLand/AC_PrecLand_StateMachine.h b/libraries/AC_PrecLand/AC_PrecLand_StateMachine.h index 7993202dbe..b72b0e8d72 100644 --- a/libraries/AC_PrecLand/AC_PrecLand_StateMachine.h +++ b/libraries/AC_PrecLand/AC_PrecLand_StateMachine.h @@ -1,7 +1,6 @@ #pragma once #include -#include // This class constantly monitors what the status of the landing target is // If it is not in sight, depending on user parameters, it decides what measures can be taken to bring the target back in sight @@ -17,8 +16,7 @@ public: }; // Do not allow copies - AC_PrecLand_StateMachine(const AC_PrecLand_StateMachine &other) = delete; - AC_PrecLand_StateMachine &operator=(const AC_PrecLand_StateMachine&) = delete; + CLASS_NO_COPY(AC_PrecLand_StateMachine); // Initialize the state machine. This is called everytime vehicle switches mode void init();