aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/static/common.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/codecs/static/common.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/codecs/static/common.h')
-rw-r--r--library/cpp/codecs/static/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/codecs/static/common.h b/library/cpp/codecs/static/common.h
index 588975b8de..211de2a27d 100644
--- a/library/cpp/codecs/static/common.h
+++ b/library/cpp/codecs/static/common.h
@@ -12,10 +12,10 @@ namespace NCodecs {
}
template <class T>
- TString HexWriteScalar(T t) {
+ TString HexWriteScalar(T t) {
static_assert(std::is_scalar<T>::value, "scalars only");
t = LittleToBig(t);
- TString res = HexEncode(&t, sizeof(t));
+ TString res = HexEncode(&t, sizeof(t));
res.to_lower();
return res;
}