From baa58daefa91fde4b4769facdbd2903763b9c6a8 Mon Sep 17 00:00:00 2001 From: danlark <danlark@yandex-team.ru> Date: Thu, 10 Feb 2022 16:46:10 +0300 Subject: Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2. --- library/cpp/codecs/static/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/cpp/codecs/static/common.h') diff --git a/library/cpp/codecs/static/common.h b/library/cpp/codecs/static/common.h index dec4046a21..211de2a27d 100644 --- a/library/cpp/codecs/static/common.h +++ b/library/cpp/codecs/static/common.h @@ -8,7 +8,7 @@ namespace NCodecs { template <class T> ui64 DataSignature(const T& t) { static_assert(!std::is_scalar<T>::value, "no scalars"); - return CityHash64(t.data(), t.size()); + return CityHash64(t.data(), t.size()); } template <class T> @@ -24,7 +24,7 @@ namespace NCodecs { T HexReadScalar(TStringBuf s) { static_assert(std::is_scalar<T>::value, "scalars only"); T t = 0; - HexDecode(s.data(), Min(s.size(), sizeof(T)), &t); + HexDecode(s.data(), Min(s.size(), sizeof(T)), &t); t = BigToLittle(t); return t; } -- cgit v1.2.3