aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/task_scheduler
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-10 16:47:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:27 +0300
commit55a7f90e4cd31e9481cace8ee5dfd682c27e810e (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/threading/task_scheduler
parent7fe839092527589b38f014d854c51565b3c1adfa (diff)
downloadydb-55a7f90e4cd31e9481cace8ee5dfd682c27e810e.tar.gz
Restoring authorship annotation for <tobo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading/task_scheduler')
-rw-r--r--library/cpp/threading/task_scheduler/task_scheduler.cpp2
-rw-r--r--library/cpp/threading/task_scheduler/task_scheduler_ut.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/threading/task_scheduler/task_scheduler.cpp b/library/cpp/threading/task_scheduler/task_scheduler.cpp
index e3a847b234..174dde4bf7 100644
--- a/library/cpp/threading/task_scheduler/task_scheduler.cpp
+++ b/library/cpp/threading/task_scheduler/task_scheduler.cpp
@@ -85,7 +85,7 @@ namespace {
AtomicIncrement(Counter_);
}
- ~TTaskWrapper() override {
+ ~TTaskWrapper() override {
AtomicDecrement(Counter_);
}
private:
diff --git a/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp b/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp
index 50e40316d0..3b5203194a 100644
--- a/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp
+++ b/library/cpp/threading/task_scheduler/task_scheduler_ut.cpp
@@ -21,10 +21,10 @@ class TTaskSchedulerTest: public TTestBase {
AtomicIncrement(ScheduledTaskCounter_);
}
- ~TCheckTask() override {
+ ~TCheckTask() override {
}
- bool Process() override {
+ bool Process() override {
const TDuration delay = Now() - Start_;
if (delay < Delay_) {