diff options
| author | Vlad Yaroslavlev <[email protected]> | 2022-02-10 16:46:23 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:23 +0300 |
| commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
| tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/digest/lower_case/lchash.h | |
| parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/digest/lower_case/lchash.h')
| -rw-r--r-- | library/cpp/digest/lower_case/lchash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/digest/lower_case/lchash.h b/library/cpp/digest/lower_case/lchash.h index 6a287d94796..5cc13bc6127 100644 --- a/library/cpp/digest/lower_case/lchash.h +++ b/library/cpp/digest/lower_case/lchash.h @@ -6,13 +6,13 @@ #include <util/generic/strbuf.h> template <class T> -static inline T FnvCaseLess(const char* b, size_t l, T t = 0) noexcept { +static inline T FnvCaseLess(const char* b, size_t l, T t = 0) noexcept { using TIter = TLowerCaseIterator<const char>; return FnvHash(TIter(b), TIter(b + l), t); } template <class T> -static inline T FnvCaseLess(const TStringBuf& s, T t = 0) noexcept { +static inline T FnvCaseLess(const TStringBuf& s, T t = 0) noexcept { return FnvCaseLess(s.data(), s.size(), t); } |
