aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/dynlib.cpp
diff options
context:
space:
mode:
authorvsevolod <vsevolod@yandex-team.ru>2022-02-10 16:51:58 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:58 +0300
commit3e2979c38913ade16bf33ea8a905eabdaececbe0 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/system/dynlib.cpp
parentf51db72989e84b8d77b0a68fc7239f11e83e9ff4 (diff)
downloadydb-3e2979c38913ade16bf33ea8a905eabdaececbe0.tar.gz
Restoring authorship annotation for <vsevolod@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/dynlib.cpp')
-rw-r--r--util/system/dynlib.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/dynlib.cpp b/util/system/dynlib.cpp
index 2cb4887e46..9d2541c25f 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);
-}
+}