Skip to content

Commit ce66bc6

Browse files
committed
Older LLVM compilers do not support aggregate initialization type deduction
llvm/llvm-project#54050 Implemented llvm/llvm-project@632dd6a 07/2023, first appeared in Clang 17
1 parent 04dd4f0 commit ce66bc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/spatial/detail/ArborX_IndexableGetter.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,13 @@ struct Indexables
7676
KOKKOS_FUNCTION auto size() const { return _values.size(); }
7777
};
7878

79-
#ifdef KOKKOS_ENABLE_CXX17
8079
template <typename Values, typename IndexableGetter>
8180
#if KOKKOS_VERSION >= 40400
8281
KOKKOS_DEDUCTION_GUIDE
8382
#else
8483
KOKKOS_FUNCTION
8584
#endif
8685
Indexables(Values, IndexableGetter) -> Indexables<Values, IndexableGetter>;
87-
#endif
8886

8987
} // namespace Details
9088

0 commit comments

Comments
 (0)