mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_WheelEncoder: do not permit copies
This commit is contained in:
parent
45ac3e6bb2
commit
21201b8816
@ -34,6 +34,10 @@ public:
|
|||||||
|
|
||||||
AP_WheelEncoder(void);
|
AP_WheelEncoder(void);
|
||||||
|
|
||||||
|
/* Do not allow copies */
|
||||||
|
AP_WheelEncoder(const AP_WheelEncoder &other) = delete;
|
||||||
|
AP_WheelEncoder &operator=(const AP_WheelEncoder&) = delete;
|
||||||
|
|
||||||
// WheelEncoder driver types
|
// WheelEncoder driver types
|
||||||
enum WheelEncoder_Type {
|
enum WheelEncoder_Type {
|
||||||
WheelEncoder_TYPE_NONE = 0,
|
WheelEncoder_TYPE_NONE = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user