Copter: do not permit copying of a Mode

This commit is contained in:
Peter Barker 2019-01-03 14:07:59 +11:00 committed by Randy Mackay
parent ca0374a7af
commit bba3546279

View File

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