aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/sem.cpp
diff options
context:
space:
mode:
authorlsurn <lsurn@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commitd8825989a7621fc7275e8cfdba16b4f699fb6359 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/sem.cpp
parent45e70bb2432018a4704845621cd9ddd2ceab6ffb (diff)
downloadydb-d8825989a7621fc7275e8cfdba16b4f699fb6359.tar.gz
Restoring authorship annotation for <lsurn@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/sem.cpp')
-rw-r--r--util/system/sem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/sem.cpp b/util/system/sem.cpp
index 1adc5b87af..4a93b903b5 100644
--- a/util/system/sem.cpp
+++ b/util/system/sem.cpp
@@ -2,7 +2,7 @@
#ifdef _win_
#include <malloc.h>
-#elif defined(_sun)
+#elif defined(_sun)
#include <alloca.h>
#endif
@@ -166,7 +166,7 @@ namespace {
#endif
}
};
-
+
#if defined(_unix_)
/*
Disable errors/warnings about deprecated sem_* in Darwin
@@ -209,7 +209,7 @@ namespace {
#ifdef _darwin_
Y_PRAGMA_DIAGNOSTIC_POP
#endif
-#endif
+#endif
}
class TSemaphore::TImpl: public TSemaphoreImpl {
@@ -223,7 +223,7 @@ public:
TSemaphore::TSemaphore(const char* name, ui32 maxFreeCount)
: Impl_(new TImpl(name, maxFreeCount))
{
-}
+}
TSemaphore::~TSemaphore() = default;