diff options
author | bulatman <bulatman@yandex-team.com> | 2023-06-10 13:55:11 +0300 |
---|---|---|
committer | bulatman <bulatman@yandex-team.com> | 2023-06-10 13:55:11 +0300 |
commit | d570836295decdb827b4f95d75ebf2d8d9232b9b (patch) | |
tree | 859f3511dc3166e935b9c3438f6beee050816001 /library/cpp/threading | |
parent | 91497eb27263e2feb35b53a90773e7207752a2ec (diff) | |
download | ydb-d570836295decdb827b4f95d75ebf2d8d9232b9b.tar.gz |
Remove extra semicolon (library)
Diffstat (limited to 'library/cpp/threading')
4 files changed, 3 insertions, 10 deletions
diff --git a/library/cpp/threading/chunk_queue/queue_ut.cpp b/library/cpp/threading/chunk_queue/queue_ut.cpp index 8cb36d8dd1..717ce9f047 100644 --- a/library/cpp/threading/chunk_queue/queue_ut.cpp +++ b/library/cpp/threading/chunk_queue/queue_ut.cpp @@ -53,7 +53,6 @@ Y_UNIT_TEST(ShouldStoreMultipleChunks) { } } } -; //////////////////////////////////////////////////////////////////////////////// @@ -89,7 +88,6 @@ Y_UNIT_TEST(ShouldReturnEntries) { UNIT_ASSERT(!queue.Dequeue(result)); } } -; //////////////////////////////////////////////////////////////////////////////// @@ -125,7 +123,6 @@ Y_UNIT_TEST(ShouldReturnEntries) { UNIT_ASSERT(!queue.Dequeue(result)); } } -; //////////////////////////////////////////////////////////////////////////////// @@ -163,7 +160,6 @@ Y_UNIT_TEST(ShouldReturnEntries) { UNIT_ASSERT(!queue.Dequeue(result)); } } -; //////////////////////////////////////////////////////////////////////////////// @@ -201,5 +197,4 @@ Y_UNIT_TEST(ShouldReturnEntries) { UNIT_ASSERT(!queue.Dequeue(result)); } } -; } diff --git a/library/cpp/threading/equeue/equeue_ut.cpp b/library/cpp/threading/equeue/equeue_ut.cpp index 9cf2aced44..8557f63ac0 100644 --- a/library/cpp/threading/equeue/equeue_ut.cpp +++ b/library/cpp/threading/equeue/equeue_ut.cpp @@ -74,7 +74,7 @@ Y_UNIT_TEST_SUITE(TElasticQueueTest) { struct TJob: public IObjectInQueue { void Process(void*) override { AtomicIncrement(Counters.Processed); - }; + } }; static TJob Job; diff --git a/library/cpp/threading/local_executor/ut/local_executor_ut.cpp b/library/cpp/threading/local_executor/ut/local_executor_ut.cpp index ac5737717c..a459922e97 100644 --- a/library/cpp/threading/local_executor/ut/local_executor_ut.cpp +++ b/library/cpp/threading/local_executor/ut/local_executor_ut.cpp @@ -233,7 +233,6 @@ Y_UNIT_TEST(RunOneAndCheckExceptionsWithWaitCompleteZeroExtraThreads) { RunRangeAndCheckExceptionsWithWaitComplete(1, 0); } } -; Y_UNIT_TEST_SUITE(ExecRangeWithThrow){ void RunParallelWhichThrowsTTestException(int rangeStart, int rangeSize, int threadsCount, int flags, TAtomic& processed){ @@ -323,7 +322,6 @@ Y_UNIT_TEST(NestedParallelExceptionsDoNotLeak) { UNIT_ASSERT_EQUAL(AtomicGet(processed2), DefaultRangeSize); } } -; Y_UNIT_TEST_SUITE(ExecLargeRangeWithThrow){ @@ -368,4 +366,4 @@ Y_UNIT_TEST_SUITE(ExecLargeRangeWithThrow){ TTestException ); } -}; +} diff --git a/library/cpp/threading/queue/basic_ut.cpp b/library/cpp/threading/queue/basic_ut.cpp index 5f56f8583e..5877ab9a1c 100644 --- a/library/cpp/threading/queue/basic_ut.cpp +++ b/library/cpp/threading/queue/basic_ut.cpp @@ -30,7 +30,7 @@ public: popped = queue.Pop(); UNIT_ASSERT_VALUES_EQUAL(popped, nullptr); - }; + } void OnePushOnePop_Repeat1M() { TQueueType queue; |