diff options
author | tejblum <tejblum@yandex-team.ru> | 2022-02-10 16:48:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:02 +0300 |
commit | 2bf39531b4f50b889e946ac4866018678a4fb281 (patch) | |
tree | 65ee082892af9db55f726e13950abf0b1cc65992 /library/cpp/containers/str_map/str_map.h | |
parent | a61e8c559b6b690a019253067224d595e3d642f1 (diff) | |
download | ydb-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.h | 6 |
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; } |