From 5e1e3dc82280b92fb393c3c1f403e9d85ef1bc2c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 6 Mar 2018 07:29:05 +1100 Subject: [PATCH] Sub: delete correct assignment operator --- ArduSub/AP_Arming_Sub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/AP_Arming_Sub.h b/ArduSub/AP_Arming_Sub.h index 5af0ffe73c..d4721eb494 100644 --- a/ArduSub/AP_Arming_Sub.h +++ b/ArduSub/AP_Arming_Sub.h @@ -12,7 +12,7 @@ public: /* Do not allow copies */ AP_Arming_Sub(const AP_Arming_Sub &other) = delete; - AP_Arming_Sub &operator=(const AP_Baro&) = delete; + AP_Arming_Sub &operator=(const AP_Arming_Sub&) = delete; bool rc_calibration_checks(bool report) override; bool pre_arm_checks(bool report) override;