aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcapone212 <capone212@yandex-team.ru>2022-02-10 16:50:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:49 +0300
commit90e989b502f29f2d1176402f08e85953ae199004 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8
parent6ee0259e70a3b290271ef9072de60e5f65bb6307 (diff)
downloadydb-90e989b502f29f2d1176402f08e85953ae199004.tar.gz
Restoring authorship annotation for <capone212@yandex-team.ru>. Commit 2 of 2.
-rw-r--r--build/rules/contrib_restricted.policy2
-rw-r--r--library/cpp/yt/small_containers/compact_vector-inl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/rules/contrib_restricted.policy b/build/rules/contrib_restricted.policy
index 80ebd82e57..a83ead1904 100644
--- a/build/rules/contrib_restricted.policy
+++ b/build/rules/contrib_restricted.policy
@@ -152,7 +152,7 @@ ALLOW weather/archive/grid_api/lib -> contrib/restricted/boost
ALLOW yabs/telephony -> contrib/restricted/boost
ALLOW yandex_io -> contrib/restricted/boost
ALLOW yweb/robot/js -> contrib/restricted/boost
-ALLOW market/access/server/env -> contrib/restricted/boost
+ALLOW market/access/server/env -> contrib/restricted/boost
ALLOW sdg/library/cpp/ros_msg_parser -> contrib/restricted/boost
ALLOW search/meta/scatter/ant -> contrib/restricted/boost
ALLOW search/meta/scatter/ut -> contrib/restricted/boost
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);
}