diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) | |
download | ydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h')
-rw-r--r-- | contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h index b1003bd0a9..6ef61e5b33 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h @@ -28,7 +28,7 @@ #include "y_absl/base/config.h" -namespace y_absl { +namespace y_absl { ABSL_NAMESPACE_BEGIN namespace algorithm_internal { @@ -114,7 +114,7 @@ bool equal(InputIter1 first1, InputIter1 last1, InputIter2 first2, template <typename InputIter1, typename InputIter2> bool equal(InputIter1 first1, InputIter1 last1, InputIter2 first2, InputIter2 last2) { - return y_absl::equal(first1, last1, first2, last2, + return y_absl::equal(first1, last1, first2, last2, algorithm_internal::EqualTo{}); } @@ -142,7 +142,7 @@ bool linear_search(InputIterator first, InputIterator last, // <= 4.9 where `std::rotate` returns `void` instead of an iterator. // // The complexity of this algorithm is the same as that of `std::rotate`, but if -// `ForwardIterator` is not a random-access iterator, then `y_absl::rotate` +// `ForwardIterator` is not a random-access iterator, then `y_absl::rotate` // performs an additional pass over the range to construct the return value. template <typename ForwardIterator> ForwardIterator rotate(ForwardIterator first, ForwardIterator middle, @@ -154,6 +154,6 @@ ForwardIterator rotate(ForwardIterator first, ForwardIterator middle, } ABSL_NAMESPACE_END -} // namespace y_absl +} // namespace y_absl #endif // ABSL_ALGORITHM_ALGORITHM_H_ |