Sub: delete correct assignment operator

This commit is contained in:
Peter Barker 2018-03-06 07:29:05 +11:00 committed by Lucas De Marchi
parent 4104d40130
commit 5e1e3dc822
1 changed files with 1 additions and 1 deletions

View File

@ -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;