[libcxx-commits] [PATCH] D154546: [libc++][PSTL] Add a missing argument in the std::merge test
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 5 14:40:17 PDT 2023
philnik created this revision.
philnik added a reviewer: ldionne.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154546
Files:
libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp
Index: libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp
===================================================================
--- libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp
+++ libcxx/test/std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp
@@ -96,8 +96,12 @@
}
std::vector<int> out(std::size(a) + std::size(b));
- std::merge(
- Iter1(a.data()), Iter1(a.data() + a.size()), Iter2(b.data()), Iter2(b.data() + b.size()), std::begin(out));
+ std::merge(policy,
+ Iter1(a.data()),
+ Iter1(a.data() + a.size()),
+ Iter2(b.data()),
+ Iter2(b.data() + b.size()),
+ std::begin(out));
std::vector<int> expected(200);
std::iota(expected.begin(), expected.end(), 0);
assert(std::equal(out.begin(), out.end(), expected.begin()));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154546.537508.patch
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230705/62d169af/attachment-0001.bin>
More information about the libcxx-commits
mailing list