diff options
author | vsevolod <vsevolod@yandex-team.ru> | 2022-02-10 16:51:58 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:58 +0300 |
commit | f51db72989e84b8d77b0a68fc7239f11e83e9ff4 (patch) | |
tree | 51abfdf320a949e76ba8be35afb04c3a761bf0f6 /util/system/dynlib.cpp | |
parent | cef7a509710626ba72058dc31bb8f757225564ce (diff) | |
download | ydb-f51db72989e84b8d77b0a68fc7239f11e83e9ff4.tar.gz |
Restoring authorship annotation for <vsevolod@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/dynlib.cpp')
-rw-r--r-- | util/system/dynlib.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/dynlib.cpp b/util/system/dynlib.cpp index 9d2541c25f..2cb4887e46 100644 --- a/util/system/dynlib.cpp +++ b/util/system/dynlib.cpp @@ -2,7 +2,7 @@ #include "guard.h" #include "mutex.h" -#include <util/generic/singleton.h> +#include <util/generic/singleton.h> #include <util/generic/yexception.h> #ifdef _win32_ @@ -66,7 +66,7 @@ public: return new TImpl(path, flags); } - + inline ~TImpl() { if (Module && Unloadable) { DLLCLOSE(Module); @@ -86,7 +86,7 @@ public: return symbol; } - + inline void SetUnloadable(bool unloadable) { Unloadable = unloadable; } @@ -132,7 +132,7 @@ void* TDynamicLibrary::Sym(const char* name) { bool TDynamicLibrary::IsLoaded() const noexcept { return (bool)Impl_.Get(); } - -void TDynamicLibrary::SetUnloadable(bool unloadable) { + +void TDynamicLibrary::SetUnloadable(bool unloadable) { Impl_->SetUnloadable(unloadable); -} +} |