aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/event_ut.cpp
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.ru>2022-02-10 16:45:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:37 +0300
commite5437feb4ac2d2dc044e1090b9312dde5ef197e0 (patch)
treef5a238c69dd20a1fa2092127a31b8aff25020f7d /util/system/event_ut.cpp
parentf4945d0a44b8770f0801de3056aa41639b0b7bd2 (diff)
downloadydb-e5437feb4ac2d2dc044e1090b9312dde5ef197e0.tar.gz
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/event_ut.cpp')
-rw-r--r--util/system/event_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/event_ut.cpp b/util/system/event_ut.cpp
index 2506cb7a91..ad7bfcb7da 100644
--- a/util/system/event_ut.cpp
+++ b/util/system/event_ut.cpp
@@ -50,16 +50,16 @@ namespace {
class TSignalTask: public IObjectInQueue {
private:
- TManualEvent& Ev_;
+ TManualEvent& Ev_;
public:
- TSignalTask(TManualEvent& ev)
- : Ev_(ev)
+ TSignalTask(TManualEvent& ev)
+ : Ev_(ev)
{
}
void Process(void*) override {
- Ev_.Signal();
+ Ev_.Signal();
}
};
@@ -103,7 +103,7 @@ Y_UNIT_TEST_SUITE(EventTest) {
queue.Start(limit);
TVector<THolder<IObjectInQueue>> tasks;
for (size_t i = 0; i < limit; ++i) {
- tasks.emplace_back(MakeHolder<TSignalTask>(event[i]));
+ tasks.emplace_back(MakeHolder<TSignalTask>(event[i]));
UNIT_ASSERT(queue.Add(tasks.back().Get()));
}
for (size_t i = limit; i != 0; --i) {
@@ -118,7 +118,7 @@ Y_UNIT_TEST_SUITE(EventTest) {
TVector<THolder<IObjectInQueue>> tasks;
for (size_t i = 0; i < 1000; ++i) {
auto owner = MakeHolder<TOwnerTask>();
- tasks.emplace_back(MakeHolder<TSignalTask>(*owner->Ev));
+ tasks.emplace_back(MakeHolder<TSignalTask>(*owner->Ev));
tasks.emplace_back(std::move(owner));
}