diff --git a/libraries/AP_HAL_SITL/Util.h b/libraries/AP_HAL_SITL/Util.h index 1df3dd06b2..c209e657d4 100644 --- a/libraries/AP_HAL_SITL/Util.h +++ b/libraries/AP_HAL_SITL/Util.h @@ -36,8 +36,8 @@ public: #ifdef ENABLE_HEAP // heap functions, note that a heap once alloc'd cannot be dealloc'd - virtual void *allocate_heap_memory(size_t size); - virtual void *heap_realloc(void *heap, void *ptr, size_t new_size); + void *allocate_heap_memory(size_t size) override; + void *heap_realloc(void *heap, void *ptr, size_t new_size) override; #endif // ENABLE_HEAP #ifdef WITH_SITL_TONEALARM