From 5fd4b2a62aa357a97986410ffdb092a6b98c2e34 Mon Sep 17 00:00:00 2001 From: kobayu858 <129580202+kobayu858@users.noreply.github.com> Date: Mon, 5 Aug 2024 06:59:40 +0900 Subject: [PATCH] fix(autoware_pointcloud_preprocessor): fix functionConst (#8280) fix:functionConst Signed-off-by: kobayu858 --- .../src/downsample_filter/robin_hood.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h b/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h index 2818e34a0601f..a50ea7f70b774 100644 --- a/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h +++ b/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h @@ -1134,7 +1134,7 @@ class Table map.deallocate(mData); } - void destroyDoNotDeallocate() noexcept { mData->~value_type(); } + void destroyDoNotDeallocate() const noexcept { mData->~value_type(); } value_type const * operator->() const noexcept { return mData; }