diff options
author | vitamin-ca <vitamin-ca@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
commit | 33975e98548306c90ccdc156bc436408a213be00 (patch) | |
tree | f3f70f93263e848986d3f52e04e4e9a980e224b0 /library/cpp/packers | |
parent | a175286682787b2d1213734c5be7458aaf594c1c (diff) | |
download | ydb-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.h | 2 |
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> |