Skip to content

Commit e988c95

Browse files
committed
Format
1 parent ea7e0a7 commit e988c95

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libcxx/include/__iterator/next.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ struct __next {
6161
}
6262

6363
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 {
6566
ranges::advance(__x, __n, __bound_sentinel);
6667
return __x;
6768
}

libcxx/include/__iterator/prev.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ struct __prev {
5454
}
5555

5656
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 {
5859
ranges::advance(__x, -__n, __bound_iter);
5960
return __x;
6061
}

0 commit comments

Comments
 (0)