diff options
author | khristich <khristich@yandex-team.ru> | 2022-02-10 16:50:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:11 +0300 |
commit | 4488b6dd6356a10e57c74303b91211469ab2ec34 (patch) | |
tree | c186b22d3dc57247df20942ecfb176abe093d306 /util/generic | |
parent | eeb44fff3b21a0abc3a28ecf80df8ea214338f2a (diff) | |
download | ydb-4488b6dd6356a10e57c74303b91211469ab2ec34.tar.gz |
Restoring authorship annotation for <khristich@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic')
-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 e46db21fa9..7a16e4f02a 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); |