From 51676d528710648ff8ca7c8f9263fa8883fa35ae Mon Sep 17 00:00:00 2001 From: Stephan Hageboeck Date: Tue, 15 Aug 2023 14:56:01 +0200 Subject: [PATCH] Fix a shadow warning in execute_with_dependencies. Fix #1980. --- thrust/detail/execute_with_dependencies.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thrust/detail/execute_with_dependencies.h b/thrust/detail/execute_with_dependencies.h index ec54010b0..9f82f28ba 100644 --- a/thrust/detail/execute_with_dependencies.h +++ b/thrust/detail/execute_with_dependencies.h @@ -61,8 +61,8 @@ struct execute_with_dependencies public: __host__ - execute_with_dependencies(super_t const &super, Dependencies && ...dependencies) - : super_t(super), dependencies(std::forward(dependencies)...) + execute_with_dependencies(super_t const &super, Dependencies && ...deps) + : super_t(super), dependencies(std::forward(deps)...) { }