Skip to content

Commit bca886f

Browse files
committed
Change the return type of AccessValues::size() to be view-like
This also fixes a recently introduced warning.
1 parent 136b268 commit bca886f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatial/detail/ArborX_AccessTraits.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ struct AccessTraits<Details::AccessValuesI<Values>>
198198
}
199199

200200
KOKKOS_FUNCTION
201-
static decltype(auto) size(AccessValues const &w) { return w.size(); }
201+
static size_t size(AccessValues const &w) { return w.size(); }
202202
};
203203

204204
} // namespace ArborX

0 commit comments

Comments
 (0)