aboutsummaryrefslogtreecommitdiffstats
path: root/util/digest/fnv.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/digest/fnv.h
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/digest/fnv.h')
-rw-r--r--util/digest/fnv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/digest/fnv.h b/util/digest/fnv.h
index efedb95ac9c..87b41a3de7e 100644
--- a/util/digest/fnv.h
+++ b/util/digest/fnv.h
@@ -66,8 +66,8 @@ template <class T>
static constexpr T FnvHash(const void* buf, size_t len) {
return FnvHash<T>((const unsigned char*)buf, (const unsigned char*)buf + len);
}
-
-template <class T, class Buf>
+
+template <class T, class Buf>
static constexpr T FnvHash(const Buf& buf) {
return FnvHash<T>(buf.data(), buf.size() * sizeof(*buf.data()));
-}
+}