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
commit2bf39531b4f50b889e946ac4866018678a4fb281 (patch)
tree65ee082892af9db55f726e13950abf0b1cc65992 /library/cpp/containers/str_map/str_map.h
parenta61e8c559b6b690a019253067224d595e3d642f1 (diff)
downloadydb-2bf39531b4f50b889e946ac4866018678a4fb281.tar.gz
Restoring authorship annotation for <tejblum@yandex-team.ru>. Commit 1 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 31b00d1b99..38fd2d7da5 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;
}