diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /library/cpp/messagebus/actor/ring_buffer.h | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor/ring_buffer.h')
-rw-r--r-- | library/cpp/messagebus/actor/ring_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/messagebus/actor/ring_buffer.h b/library/cpp/messagebus/actor/ring_buffer.h index ec5706f7c7..937d8d5a3d 100644 --- a/library/cpp/messagebus/actor/ring_buffer.h +++ b/library/cpp/messagebus/actor/ring_buffer.h @@ -14,7 +14,7 @@ private: ui32 Capacity; ui32 WritePos; ui32 ReadPos; - TVector<T> Data; + TVector<T> Data; void StateCheck() const { Y_ASSERT(Capacity == Data.size()); @@ -39,7 +39,7 @@ private: } ui32 newCapacity = 1u << newCapacityPow; ui32 newCapacityMask = newCapacity - 1u; - TVector<T> newData(newCapacity); + TVector<T> newData(newCapacity); ui32 oldSize = Size(); // Copy old elements for (size_t i = 0; i < oldSize; ++i) { |