aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-30 14:55:02 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-30 14:55:02 +0300
commit24f5751a6226aa590aebd7e5915fa3508d40fbd9 (patch)
treeca4f8c3f42989f5f2b9d2d26b27bc0cead4d8bbb /contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h
parentb8e180adf4a659f46cacb10cd67b96e38ef660a1 (diff)
downloadydb-24f5751a6226aa590aebd7e5915fa3508d40fbd9.tar.gz
intermediate changes
ref:6e865ff0ae14a24901c8add989f674d8e88acf17
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h b/contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h
index 4d99ff237c..bf5447698c 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h
+++ b/contrib/libs/cxxsupp/libcxx/include/__algorithm/sift_down.h
@@ -21,8 +21,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class _Compare, class _RandomAccessIterator>
_LIBCPP_CONSTEXPR_AFTER_CXX11 void
-__sift_down(_RandomAccessIterator __first, _RandomAccessIterator /*__last*/,
- _Compare __comp,
+__sift_down(_RandomAccessIterator __first, _Compare __comp,
typename iterator_traits<_RandomAccessIterator>::difference_type __len,
_RandomAccessIterator __start)
{
@@ -46,7 +45,7 @@ __sift_down(_RandomAccessIterator __first, _RandomAccessIterator /*__last*/,
// check if we are in heap-order
if (__comp(*__child_i, *__start))
- // we are, __start is larger than it's largest child
+ // we are, __start is larger than its largest child
return;
value_type __top(_VSTD::move(*__start));