AP_HAL: added virtual destructor for Semaphores

This commit is contained in:
Andrew Tridgell 2016-11-19 16:47:50 +11:00
parent 0889b25afa
commit a96ed8c188
1 changed files with 1 additions and 0 deletions

View File

@ -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) {}
};