Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Sep 21, 2024
1 parent eed6911 commit 6c7543a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libcxx/include/__iterator/next.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ struct __next {
}

template <input_or_output_iterator _Ip, sentinel_for<_Ip> _Sp>
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n, _Sp __bound_sentinel) const {
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip
operator()(_Ip __x, iter_difference_t<_Ip> __n, _Sp __bound_sentinel) const {
ranges::advance(__x, __n, __bound_sentinel);
return __x;
}
Expand Down
3 changes: 2 additions & 1 deletion libcxx/include/__iterator/prev.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ struct __prev {
}

template <bidirectional_iterator _Ip>
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n, _Ip __bound_iter) const {
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr _Ip
operator()(_Ip __x, iter_difference_t<_Ip> __n, _Ip __bound_iter) const {
ranges::advance(__x, -__n, __bound_iter);
return __x;
}
Expand Down

0 comments on commit 6c7543a

Please sign in to comment.