diff --git a/include/mimalloc.h b/include/mimalloc.h index ccd38ab5..3828bc25 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -534,7 +534,7 @@ template struct mi_heap_destroy_stl_allocator : public _mi_heap_stl_all template mi_heap_destroy_stl_allocator(const mi_heap_destroy_stl_allocator& x) mi_attr_noexcept : _mi_heap_stl_allocator_common(x) { } mi_heap_destroy_stl_allocator select_on_container_copy_construction() const { return *this; } - void deallocate(T* p, size_type) { /* do nothing as we destroy the heap on destruct. */ } + void deallocate(T*, size_type) { /* do nothing as we destroy the heap on destruct. */ } template struct rebind { typedef mi_heap_destroy_stl_allocator other; }; };