From 9f0555680168a0fa833ac1b27e4292be9ccf36b3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 6 Mar 2018 07:28:35 +1100 Subject: [PATCH] Copter: delete correct assignment operator --- ArduCopter/AP_Arming.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/AP_Arming.h b/ArduCopter/AP_Arming.h index b0013591ef..a6e97f152f 100644 --- a/ArduCopter/AP_Arming.h +++ b/ArduCopter/AP_Arming.h @@ -19,7 +19,7 @@ public: /* Do not allow copies */ AP_Arming_Copter(const AP_Arming_Copter &other) = delete; - AP_Arming_Copter &operator=(const AP_Baro&) = delete; + AP_Arming_Copter &operator=(const AP_Arming_Copter&) = delete; void update(void); bool all_checks_passing(bool arming_from_gcs);