Skip to content

Commit

Permalink
[oneDPL][ranges][zip_view][test] const for compare_with_sentinels
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDvorskiy committed Nov 4, 2024
1 parent 373ade4 commit 32d192f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/oneapi/dpl/pstl/zip_view_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class zip_view : public std::ranges::view_interface<zip_view<Views...>> {
}

template <typename SentinelsTuple, std::size_t... In>
constexpr bool compare_with_sentinels(const SentinelsTuple& sentinels, std::index_sequence<In...>) {
constexpr bool compare_with_sentinels(const SentinelsTuple& sentinels, std::index_sequence<In...>) const {
return ( (std::get<In>(current_) == std::get<In>(sentinels)) || ... );
}

Expand Down

0 comments on commit 32d192f

Please sign in to comment.