diff options
author | lsurn <lsurn@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
commit | 45e70bb2432018a4704845621cd9ddd2ceab6ffb (patch) | |
tree | a152f2e39b9786afe16c2a9230f7c4b12a59e4ee /util/system/sem.cpp | |
parent | 47a7e7b29636bfb2deb1df5f92363b3c75229c95 (diff) | |
download | ydb-45e70bb2432018a4704845621cd9ddd2ceab6ffb.tar.gz |
Restoring authorship annotation for <lsurn@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/sem.cpp')
-rw-r--r-- | util/system/sem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/sem.cpp b/util/system/sem.cpp index 4a93b903b5..1adc5b87af 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; |