diff --git a/extension/memory_allocator/cpu_caching_malloc_allocator.h b/extension/memory_allocator/cpu_caching_malloc_allocator.h index 9f352c9aaa1..73895c30fa2 100644 --- a/extension/memory_allocator/cpu_caching_malloc_allocator.h +++ b/extension/memory_allocator/cpu_caching_malloc_allocator.h @@ -84,7 +84,7 @@ class CPUCachingAllocator : public executorch::runtime::MemoryAllocator { size_t size, size_t alignment = kCachingAllocatorDefaultAlignment) override; void reset() override; - ~CPUCachingAllocator(); + ~CPUCachingAllocator() override; }; } // namespace executorch::extension