aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/actor/ring_buffer.h
diff options
context:
space:
mode:
authordobrokot <dobrokot@yandex-team.ru>2022-02-10 16:49:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:07 +0300
commit25d83bf841d8b3ce3886525078f1964ac3c293c5 (patch)
treebd52fa16c8dd727890b2ef9d87d1a402bd0d3a9a /library/cpp/messagebus/actor/ring_buffer.h
parent1d2e8a8e9976488ea69a7e4763aa749244f82612 (diff)
downloadydb-25d83bf841d8b3ce3886525078f1964ac3c293c5.tar.gz
Restoring authorship annotation for <dobrokot@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor/ring_buffer.h')
-rw-r--r--library/cpp/messagebus/actor/ring_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/messagebus/actor/ring_buffer.h b/library/cpp/messagebus/actor/ring_buffer.h
index ec5706f7c7..8b63149f4f 100644
--- a/library/cpp/messagebus/actor/ring_buffer.h
+++ b/library/cpp/messagebus/actor/ring_buffer.h
@@ -34,7 +34,7 @@ private:
return;
ui32 newCapacityPow = CapacityPow;
- while ((1u << newCapacityPow) < sz + ui32(Size()) + 1u) {
+ while ((1u << newCapacityPow) < sz + ui32(Size()) + 1u) {
++newCapacityPow;
}
ui32 newCapacity = 1u << newCapacityPow;