Skip to content

Commit

Permalink
Older LLVM compilers do not support aggregate initialization type ded…
Browse files Browse the repository at this point in the history
…uction

llvm/llvm-project#54050
Implemented llvm/llvm-project@632dd6a
07/2023, first appeared in Clang 17
  • Loading branch information
aprokop committed Feb 8, 2025
1 parent 04dd4f0 commit ce66bc6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/spatial/detail/ArborX_IndexableGetter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ struct Indexables
KOKKOS_FUNCTION auto size() const { return _values.size(); }
};

#ifdef KOKKOS_ENABLE_CXX17
template <typename Values, typename IndexableGetter>
#if KOKKOS_VERSION >= 40400
KOKKOS_DEDUCTION_GUIDE
#else
KOKKOS_FUNCTION
#endif
Indexables(Values, IndexableGetter) -> Indexables<Values, IndexableGetter>;
#endif

} // namespace Details

Expand Down

0 comments on commit ce66bc6

Please sign in to comment.