Skip to content

Commit

Permalink
Switch template arg order for attach_indices
Browse files Browse the repository at this point in the history
Co-authored-by: Damien L-G <dalg24@gmail.com>
  • Loading branch information
aprokop and dalg24 committed Jan 5, 2024
1 parent d5e536e commit ed0cece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/details/ArborX_PairValueIndex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class AttachIndices
};

// Make sure the default Index matches the default in PairValueIndex
template <typename Values,
typename Index = typename PairValueIndex<int>::index_type>
template <typename Index = typename PairValueIndex<int>::index_type,
typename Values = void>
auto attach_indices(Values const &values)
{
return AttachIndices<Values, Index>{values};
Expand Down

0 comments on commit ed0cece

Please sign in to comment.