mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Copter: do not permit copying of a Mode
This commit is contained in:
parent
ca0374a7af
commit
bba3546279
@ -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…
Reference in New Issue
Block a user