aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest/multi.h
diff options
context:
space:
mode:
authorpavelgur <pavelgur@yandex-team.ru>2022-02-10 16:50:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:19 +0300
commitdb222959b3748242024c781f563f31a342492476 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/digest/multi.h
parent173c6a0fa7f439b2c207c2f258e52ccb4ac181cf (diff)
downloadydb-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.h18
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));
-}
+}