[libcxx-commits] [libcxx] e80ef6b - [libc++] Fix whitespace in __partial_sort. NFC.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 4 13:15:46 PST 2022


Author: Arthur O'Dwyer
Date: 2022-01-04T16:15:02-05:00
New Revision: e80ef6bd279efa10ae6dc3769787ca11d12de7a9

URL: https://github.com/llvm/llvm-project/commit/e80ef6bd279efa10ae6dc3769787ca11d12de7a9
DIFF: https://github.com/llvm/llvm-project/commit/e80ef6bd279efa10ae6dc3769787ca11d12de7a9.diff

LOG: [libc++] Fix whitespace in __partial_sort. NFC.

Added: 
    

Modified: 
    libcxx/include/__algorithm/partial_sort.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__algorithm/partial_sort.h b/libcxx/include/__algorithm/partial_sort.h
index 40e39e2be974..39d1a29dd97b 100644
--- a/libcxx/include/__algorithm/partial_sort.h
+++ b/libcxx/include/__algorithm/partial_sort.h
@@ -31,7 +31,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 template <class _Compare, class _RandomAccessIterator>
 _LIBCPP_CONSTEXPR_AFTER_CXX17 void
 __partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last,
-             _Compare __comp)
+               _Compare __comp)
 {
     if (__first == __middle)
         return;
@@ -66,7 +66,7 @@ void
 partial_sort(_RandomAccessIterator __first, _RandomAccessIterator __middle, _RandomAccessIterator __last)
 {
     _VSTD::partial_sort(__first, __middle, __last,
-                       __less<typename iterator_traits<_RandomAccessIterator>::value_type>());
+                        __less<typename iterator_traits<_RandomAccessIterator>::value_type>());
 }
 
 _LIBCPP_END_NAMESPACE_STD


        


More information about the libcxx-commits mailing list