summaryrefslogtreecommitdiffstats
path: root/util/thread/factory.cpp
diff options
context:
space:
mode:
authortender-bum <[email protected]>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:01 +0300
commit4aef354b224559d2b031487a10d4f5cc6e82e95a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/thread/factory.cpp
parentc78b06a63de7beec995c1007bc5332bdf3d75b69 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/thread/factory.cpp')
-rw-r--r--util/thread/factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/thread/factory.cpp b/util/thread/factory.cpp
index 50a51680e24..48e898f32dc 100644
--- a/util/thread/factory.cpp
+++ b/util/thread/factory.cpp
@@ -66,8 +66,8 @@ namespace {
};
}
-THolder<IThread> IThreadFactory::Run(std::function<void()> func) {
- THolder<IThread> ret(DoCreate());
+THolder<IThread> IThreadFactory::Run(std::function<void()> func) {
+ THolder<IThread> ret(DoCreate());
ret->Run(new ::TThreadFactoryFuncObj(func));