aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/str_map/str_map.h
diff options
context:
space:
mode:
authortejblum <tejblum@yandex-team.ru>2022-02-10 16:48:02 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:02 +0300
commit6ab7e5f5ada0643a48d393717f443bd548706ffc (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/containers/str_map/str_map.h
parent2bf39531b4f50b889e946ac4866018678a4fb281 (diff)
downloadydb-6ab7e5f5ada0643a48d393717f443bd548706ffc.tar.gz
Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/str_map/str_map.h')
-rw-r--r--library/cpp/containers/str_map/str_map.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/containers/str_map/str_map.h b/library/cpp/containers/str_map/str_map.h
index 38fd2d7da5..31b00d1b99 100644
--- a/library/cpp/containers/str_map/str_map.h
+++ b/library/cpp/containers/str_map/str_map.h
@@ -60,7 +60,7 @@ public:
}
void clear_hash() {
- yh::clear();
+ yh::clear();
pool.Clear();
}
pool_size_type pool_size() const {
@@ -93,8 +93,8 @@ public:
}
mapped_type& operator[](const char* key) {
- iterator I = yh::find(key);
- if (I == yh::end())
+ iterator I = yh::find(key);
+ if (I == yh::end())
I = insert_copy(key, mapped_type()).first;
return (*I).second;
}