aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/packers
diff options
context:
space:
mode:
authorvitamin-ca <vitamin-ca@yandex-team.ru>2022-02-10 16:50:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:46 +0300
commit33975e98548306c90ccdc156bc436408a213be00 (patch)
treef3f70f93263e848986d3f52e04e4e9a980e224b0 /library/cpp/packers
parenta175286682787b2d1213734c5be7458aaf594c1c (diff)
downloadydb-33975e98548306c90ccdc156bc436408a213be00.tar.gz
Restoring authorship annotation for <vitamin-ca@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/packers')
-rw-r--r--library/cpp/packers/packers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/packers/packers.h b/library/cpp/packers/packers.h
index 1bde1b59aa..8690ac49d7 100644
--- a/library/cpp/packers/packers.h
+++ b/library/cpp/packers/packers.h
@@ -274,7 +274,7 @@ namespace NPackers {
size_t lenChar = len * sizeof(typename TStringType::char_type);
size_t start = size - lenChar;
TIntegralPacker<size_t>().PackLeaf(buf, len, TIntegralPacker<size_t>().MeasureLeaf(len));
- memcpy(buf + start, str.data(), lenChar);
+ memcpy(buf + start, str.data(), lenChar);
}
template <class TStringType>