Skip to content

Commit 91305de

Browse files
correct the naming of the iterators (stupid mistake)
1 parent 558469e commit 91305de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__algorithm/find_first_of.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _ForwardIterator1 __find_fir
2626
_ForwardIterator2 __first2,
2727
_ForwardIterator2 __last2,
2828
_BinaryPredicate&& __pred) {
29-
return std::find_if(first1, last1, [&](const auto& x) {
30-
return std::any_of(first2, last2, [&](const auto& y) { return __pred(x, y); });
29+
return std::find_if(__first1, __last1, [&](const auto& x) {
30+
return std::any_of(__first2, __last2, [&](const auto& y) { return __pred(x, y); });
3131
});
3232
}
3333

0 commit comments

Comments
 (0)