diff options
author | pavelgur <pavelgur@yandex-team.ru> | 2022-02-10 16:50:19 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:19 +0300 |
commit | db222959b3748242024c781f563f31a342492476 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/digest/multi.h | |
parent | 173c6a0fa7f439b2c207c2f258e52ccb4ac181cf (diff) | |
download | ydb-db222959b3748242024c781f563f31a342492476.tar.gz |
Restoring authorship annotation for <pavelgur@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/digest/multi.h')
-rw-r--r-- | util/digest/multi.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util/digest/multi.h b/util/digest/multi.h index 9b2d5f2f88..8e4597c9dc 100644 --- a/util/digest/multi.h +++ b/util/digest/multi.h @@ -1,14 +1,14 @@ -#pragma once - -#include <util/str_stl.h> - -#include "numeric.h" - +#pragma once + +#include <util/str_stl.h> + +#include "numeric.h" + template <typename TOne> constexpr size_t MultiHash(const TOne& one) noexcept { - return THash<TOne>()(one); -} + return THash<TOne>()(one); +} template <typename THead, typename... TTail> constexpr size_t MultiHash(const THead& head, const TTail&... tail) noexcept { return CombineHashes(MultiHash(tail...), THash<THead>()(head)); -} +} |