mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added virtual destructor for Semaphores
This commit is contained in:
parent
0889b25afa
commit
a96ed8c188
|
@ -9,4 +9,5 @@ public:
|
|||
virtual bool take(uint32_t timeout_ms) WARN_IF_UNUSED = 0 ;
|
||||
virtual bool take_nonblocking() WARN_IF_UNUSED = 0;
|
||||
virtual bool give() = 0;
|
||||
virtual ~Semaphore(void) {}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue