diff options
author | khristich <khristich@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:12 +0300 |
commit | 52d24beed6b5a0160b2f9f9e8153616392108797 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/hash.h | |
parent | 4488b6dd6356a10e57c74303b91211469ab2ec34 (diff) | |
download | ydb-52d24beed6b5a0160b2f9f9e8153616392108797.tar.gz |
Restoring authorship annotation for <khristich@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/hash.h')
-rw-r--r-- | util/generic/hash.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/hash.h b/util/generic/hash.h index 7a16e4f02a..e46db21fa9 100644 --- a/util/generic/hash.h +++ b/util/generic/hash.h @@ -1976,12 +1976,12 @@ public: rep.release_nodes(); } - // if (stHash != NULL) bucket_count() must be equal to stHash->bucket_count() - template <class KeySaver> + // if (stHash != NULL) bucket_count() must be equal to stHash->bucket_count() + template <class KeySaver> int save_for_st(IOutputStream* stream, KeySaver& ks, sthash<int, int, THash<int>, TEqualTo<int>, typename KeySaver::TSizeType>* stHash = nullptr) const { - return rep.template save_for_st<KeySaver>(stream, ks, stHash); - } - + return rep.template save_for_st<KeySaver>(stream, ks, stHash); + } + public: void reserve(size_type hint) { rep.reserve(hint); |