From f4e1108daaf7fef89129c31954e4e2c4a040c05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20J=C3=BCnger?= Date: Mon, 16 Sep 2024 13:40:20 +0000 Subject: [PATCH] Use cuda::std::forward --- .../cuco/detail/static_multimap/static_multimap_ref.inl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/cuco/detail/static_multimap/static_multimap_ref.inl b/include/cuco/detail/static_multimap/static_multimap_ref.inl index 3dc429f3b..6a66eafca 100644 --- a/include/cuco/detail/static_multimap/static_multimap_ref.inl +++ b/include/cuco/detail/static_multimap/static_multimap_ref.inl @@ -21,6 +21,7 @@ #include #include +#include #include @@ -522,7 +523,7 @@ class operator_impl< { // CRTP: cast `this` to the actual ref type auto const& ref_ = static_cast(*this); - ref_.impl_.for_each(key, std::forward(callback_op)); + ref_.impl_.for_each(key, cuda::std::forward(callback_op)); } /** @@ -552,7 +553,7 @@ class operator_impl< { // CRTP: cast `this` to the actual ref type auto const& ref_ = static_cast(*this); - ref_.impl_.for_each(group, key, std::forward(callback_op)); + ref_.impl_.for_each(group, key, cuda::std::forward(callback_op)); } /** @@ -592,7 +593,7 @@ class operator_impl< // CRTP: cast `this` to the actual ref type auto const& ref_ = static_cast(*this); ref_.impl_.for_each( - group, key, std::forward(callback_op), std::forward(sync_op)); + group, key, cuda::std::forward(callback_op), cuda::std::forward(sync_op)); } };