Copter: delete correct assignment operator

This commit is contained in:
Peter Barker 2018-03-06 07:28:35 +11:00 committed by Lucas De Marchi
parent 1f772c05f4
commit 9f05556801
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public:
/* Do not allow copies */ /* Do not allow copies */
AP_Arming_Copter(const AP_Arming_Copter &other) = delete; 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); void update(void);
bool all_checks_passing(bool arming_from_gcs); bool all_checks_passing(bool arming_from_gcs);