Browse Source

Copter: do not permit copying of a Mode

mission-4.1.18
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
bba3546279
  1. 4
      ArduCopter/mode.h

4
ArduCopter/mode.h

@ -13,6 +13,10 @@ class Mode { @@ -13,6 +13,10 @@ class Mode {
public:
// do not allow copying
Mode(const Mode &other) = delete;
Mode &operator=(const Mode&) = delete;
// Navigation Yaw control
class AutoYaw {

Loading…
Cancel
Save