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:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:47 +0300
commita5950576e397b1909261050b8c7da16db58f10b1 (patch)
tree7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /library/cpp/digest/old_crc/crc.h
parent81eddc8c0b55990194e112b02d127b87d54164a9 (diff)
downloadydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 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 4a3ce6d05e..0b99a45a7d 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);