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 f04a84968dbb..2818e34a0601 100644 --- a/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h +++ b/sensing/autoware_pointcloud_preprocessor/src/downsample_filter/robin_hood.h @@ -1932,7 +1932,7 @@ class Table } template - iterator emplace_hint(const_iterator position, Args &&... args) + iterator emplace_hint(const const_iterator & position, Args &&... args) { (void)position; return emplace(std::forward(args)...).first; @@ -1951,14 +1951,14 @@ class Table } template - iterator try_emplace(const_iterator hint, const key_type & key, Args &&... args) + iterator try_emplace(const const_iterator & hint, const key_type & key, Args &&... args) { (void)hint; return try_emplace_impl(key, std::forward(args)...).first; } template - iterator try_emplace(const_iterator hint, key_type && key, Args &&... args) + iterator try_emplace(const const_iterator & hint, key_type && key, Args &&... args) { (void)hint; return try_emplace_impl(std::move(key), std::forward(args)...).first; @@ -1977,14 +1977,14 @@ class Table } template - iterator insert_or_assign(const_iterator hint, const key_type & key, Mapped && obj) + iterator insert_or_assign(const const_iterator & hint, const key_type & key, Mapped && obj) { (void)hint; return insertOrAssignImpl(key, std::forward(obj)).first; } template - iterator insert_or_assign(const_iterator hint, key_type && key, Mapped && obj) + iterator insert_or_assign(const const_iterator & hint, key_type && key, Mapped && obj) { (void)hint; return insertOrAssignImpl(std::move(key), std::forward(obj)).first; @@ -1996,7 +1996,7 @@ class Table return emplace(keyval); } - iterator insert(const_iterator hint, const value_type & keyval) + iterator insert(const const_iterator & hint, const value_type & keyval) { (void)hint; return emplace(keyval).first; @@ -2004,7 +2004,7 @@ class Table std::pair insert(value_type && keyval) { return emplace(std::move(keyval)); } - iterator insert(const_iterator hint, value_type && keyval) + iterator insert(const const_iterator & hint, value_type && keyval) { (void)hint; return emplace(std::move(keyval)).first;