File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
libcxx/include/__iterator Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ struct __next {
61
61
}
62
62
63
63
template <input_or_output_iterator _Ip, sentinel_for<_Ip> _Sp>
64
- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator ()(_Ip __x, iter_difference_t <_Ip> __n, _Sp __bound_sentinel) const {
64
+ [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip
65
+ operator ()(_Ip __x, iter_difference_t <_Ip> __n, _Sp __bound_sentinel) const {
65
66
ranges::advance (__x, __n, __bound_sentinel);
66
67
return __x;
67
68
}
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ struct __prev {
54
54
}
55
55
56
56
template <bidirectional_iterator _Ip>
57
- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator ()(_Ip __x, iter_difference_t <_Ip> __n, _Ip __bound_iter) const {
57
+ [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip
58
+ operator ()(_Ip __x, iter_difference_t <_Ip> __n, _Ip __bound_iter) const {
58
59
ranges::advance (__x, -__n, __bound_iter);
59
60
return __x;
60
61
}
You can’t perform that action at this time.
0 commit comments