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)...) { }