diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/algorithm.h | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 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 6ef61e5b33..b1003bd0a9 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_ |