Skip to content

Commit

Permalink
clang-format of the last 2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ichaer committed Apr 27, 2024
1 parent 62a6010 commit e2af5cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libcxx/benchmarks/algorithms/set_intersection.bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ struct SetIntersection {
while (state.KeepRunningBatch(BATCH_SIZE)) {
for (unsigned i = 0; i < BATCH_SIZE; ++i) {
const auto& [c1, c2] = input;
auto res = std::set_intersection(c1.begin(), c1.end(), c2.begin(), c2.end(), out.begin());
auto res = std::set_intersection(c1.begin(), c1.end(), c2.begin(), c2.end(), out.begin());
benchmark::DoNotOptimize(res);
}
}
Expand Down
2 changes: 1 addition & 1 deletion libcxx/include/__algorithm/set_intersection.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ __set_intersection(
std::move(__first2),
std::move(__last2),
std::move(__result),
std::forward<_Compare>(__comp),
std::forward<_Compare>(__comp),
typename std::_IterOps<_AlgPolicy>::template __iterator_category<_InIter1>(),
typename std::_IterOps<_AlgPolicy>::template __iterator_category<_InIter2>());
}
Expand Down

0 comments on commit e2af5cc

Please sign in to comment.