Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix a shadow warning in execute_with_dependencies.
Browse files Browse the repository at this point in the history
Fix #1980.
  • Loading branch information
hageboeck authored Aug 15, 2023
1 parent 24486a1 commit 51676d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrust/detail/execute_with_dependencies.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>(dependencies)...)
execute_with_dependencies(super_t const &super, Dependencies && ...deps)
: super_t(super), dependencies(std::forward<Dependencies>(deps)...)
{
}

Expand Down

0 comments on commit 51676d5

Please sign in to comment.