[libcxx-commits] [PATCH] D111480: Fix tpye of the __sort3 template.
Nilay Vaish via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 8 20:15:34 PDT 2021
nilayvaish created this revision.
nilayvaish 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/D111480
Files:
libcxx/include/__algorithm/nth_element.h
Index: libcxx/include/__algorithm/nth_element.h
===================================================================
--- libcxx/include/__algorithm/nth_element.h
+++ libcxx/include/__algorithm/nth_element.h
@@ -76,7 +76,7 @@
case 3:
{
_RandomAccessIterator __m = __first;
- __sorting_network::__sort3<_RandomAccessIterator, _Compare>(__first, ++__m, --__last, __cond_swap);
+ __sorting_network::__sort3(__first, ++__m, --__last, __cond_swap);
return;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111480.378404.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211009/84b7d787/attachment.bin>
More information about the libcxx-commits
mailing list