From d9194344c1d899d8eb5a0d269b7d423d23094740 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 27 Apr 2021 23:26:01 +0300 Subject: [PATCH] Fixed warning. Signed-off-by: vng --- 3party/kdtree++/allocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3party/kdtree++/allocator.hpp b/3party/kdtree++/allocator.hpp index ae7a5e934a..a7f3851b2f 100644 --- a/3party/kdtree++/allocator.hpp +++ b/3party/kdtree++/allocator.hpp @@ -74,7 +74,7 @@ namespace KDTree void _M_destroy_node(_Node_* __p) { - _M_node_allocator.destroy(__p); + __p->~_Node_(); } };