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; }