diff options
author | capone212 <capone212@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
commit | 90e989b502f29f2d1176402f08e85953ae199004 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library | |
parent | 6ee0259e70a3b290271ef9072de60e5f65bb6307 (diff) | |
download | ydb-90e989b502f29f2d1176402f08e85953ae199004.tar.gz |
Restoring authorship annotation for <capone212@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/yt/small_containers/compact_vector-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/small_containers/compact_vector-inl.h b/library/cpp/yt/small_containers/compact_vector-inl.h index 6d72f07d32..52507e4768 100644 --- a/library/cpp/yt/small_containers/compact_vector-inl.h +++ b/library/cpp/yt/small_containers/compact_vector-inl.h @@ -936,7 +936,7 @@ template <class T, size_t N> void TCompactVector<T, N>::Move(T* srcFirst, T* srcLast, T* dst) { if constexpr(std::is_trivially_copyable_v<T>) { - ::memmove(dst, srcFirst, (srcLast - srcFirst) * sizeof(T)); + ::memmove(dst, srcFirst, (srcLast - srcFirst) * sizeof(T)); } else { std::move(srcFirst, srcLast, dst); } |