aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers
diff options
context:
space:
mode:
authorlsurn <lsurn@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit45e70bb2432018a4704845621cd9ddd2ceab6ffb (patch)
treea152f2e39b9786afe16c2a9230f7c4b12a59e4ee /library/cpp/containers
parent47a7e7b29636bfb2deb1df5f92363b3c75229c95 (diff)
downloadydb-45e70bb2432018a4704845621cd9ddd2ceab6ffb.tar.gz
Restoring authorship annotation for <lsurn@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers')
-rw-r--r--library/cpp/containers/atomizer/atomizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/containers/atomizer/atomizer.h b/library/cpp/containers/atomizer/atomizer.h
index 5e40f47ab9..53a17378af 100644
--- a/library/cpp/containers/atomizer/atomizer.h
+++ b/library/cpp/containers/atomizer/atomizer.h
@@ -144,7 +144,7 @@ public:
std::pair<iterator, bool> ins = insert_copy(key, ui32(size() + 1));
if (ins.second) { // new?
if (pool.Begin() != old_begin) // repoint?
- for (typename TOrder::iterator ptr = order.begin(); ptr != order.end(); ++ptr)
+ for (typename TOrder::iterator ptr = order.begin(); ptr != order.end(); ++ptr)
if (old_begin <= (*ptr).first && (*ptr).first < old_end) // from old pool?
(*ptr).first += pool.Begin() - old_begin;
order.push_back(std::pair<const char*, T>((*ins.first).first, atom_data ? *atom_data : T()));