From 75c62154b5fe9a3753991e8fb789eddbc658c13a Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Mon, 17 Jun 2019 16:15:25 -0700 Subject: [PATCH] AP_HAL_SITL: Add missing override declarations --- libraries/AP_HAL_SITL/Util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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