aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/old_crc/crc.h
diff options
context:
space:
mode:
authorsomov <somov@yandex-team.ru>2022-02-10 16:45:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:49 +0300
commit7489e4682331202b9c7d863c0898eb83d7b12c2b (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /library/cpp/digest/old_crc/crc.h
parenta5950576e397b1909261050b8c7da16db58f10b1 (diff)
downloadydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/digest/old_crc/crc.h')
-rw-r--r--library/cpp/digest/old_crc/crc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/digest/old_crc/crc.h b/library/cpp/digest/old_crc/crc.h
index 0b99a45a7d..4a3ce6d05e 100644
--- a/library/cpp/digest/old_crc/crc.h
+++ b/library/cpp/digest/old_crc/crc.h
@@ -79,11 +79,11 @@ namespace NCrcPrivate {
#undef DEF_CRC_FUNC
}
-template <class T>
+template <class T>
static inline T Crc(const void* buf, size_t len, T init) {
return (T)NCrcPrivate::TCrcHelper<8 * sizeof(T)>::Crc(buf, len, init);
-}
-
+}
+
template <class T>
static inline T Crc(const void* buf, size_t len) {
return Crc<T>(buf, len, (T)NCrcPrivate::TCrcHelper<8 * sizeof(T)>::Init);