aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/iterator
diff options
context:
space:
mode:
authorcherenkov-p-a <cherenkov-p-a@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit8124e2bb214b063687e0d77c900150c727e16782 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/iterator
parent9011d1fa16370ec024d20180d440f7ae6fd0e1c8 (diff)
downloadydb-8124e2bb214b063687e0d77c900150c727e16782.tar.gz
Restoring authorship annotation for <cherenkov-p-a@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/iterator')
-rw-r--r--library/cpp/iterator/concatenate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/iterator/concatenate.h b/library/cpp/iterator/concatenate.h
index dc8e489111..64d2cd451a 100644
--- a/library/cpp/iterator/concatenate.h
+++ b/library/cpp/iterator/concatenate.h
@@ -77,9 +77,9 @@ namespace NPrivate {
TValue operator*() const {
return GetCurrentValue(Position_, Iterators_);
}
- TIterator& operator++() {
+ TIterator& operator++() {
MaybeIncrementIteratorAndSkipExhaustedContainers<true>();
- return *this;
+ return *this;
}
bool operator!=(const TSentinel& other) const {
// give compiler an opportunity to optimize sentinel case (-70% of time)