aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/util/queue_chunk.h
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:15 +0300
commit72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch)
treeda2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/actors/util/queue_chunk.h
parent778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff)
downloadydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/util/queue_chunk.h')
-rw-r--r--library/cpp/actors/util/queue_chunk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/actors/util/queue_chunk.h b/library/cpp/actors/util/queue_chunk.h
index 8a4e02d8cb..b56f0c1d5c 100644
--- a/library/cpp/actors/util/queue_chunk.h
+++ b/library/cpp/actors/util/queue_chunk.h
@@ -5,7 +5,7 @@
template <typename T, ui32 TSize, typename TDerived>
struct TQueueChunkDerived {
static const ui32 EntriesCount = (TSize - sizeof(TQueueChunkDerived*)) / sizeof(T);
- static_assert(EntriesCount > 0, "expect EntriesCount > 0");
+ static_assert(EntriesCount > 0, "expect EntriesCount > 0");
volatile T Entries[EntriesCount];
TDerived* volatile Next;
@@ -18,7 +18,7 @@ struct TQueueChunkDerived {
template <typename T, ui32 TSize>
struct TQueueChunk {
static const ui32 EntriesCount = (TSize - sizeof(TQueueChunk*)) / sizeof(T);
- static_assert(EntriesCount > 0, "expect EntriesCount > 0");
+ static_assert(EntriesCount > 0, "expect EntriesCount > 0");
volatile T Entries[EntriesCount];
TQueueChunk* volatile Next;