diff options
author | tobo <tobo@yandex-team.ru> | 2022-02-28 12:04:09 +0300 |
---|---|---|
committer | tobo <tobo@yandex-team.ru> | 2022-02-28 12:04:09 +0300 |
commit | f23d808d6c8b0f50c51b44baad1f919cab389cde (patch) | |
tree | ee9e3d708973bee4d463605de2414bbf7946d853 /util/thread/factory.h | |
parent | fe01c5041a843ee05cf4bf58b020eba53b909caf (diff) | |
download | ydb-f23d808d6c8b0f50c51b44baad1f919cab389cde.tar.gz |
clang-tidy - move-constructor and move-assignment operators should be marked noexcept + pass some args by reference
ref:5da43163e6b3c2499597234dc80ad47042259013
Diffstat (limited to 'util/thread/factory.h')
-rw-r--r-- | util/thread/factory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/thread/factory.h b/util/thread/factory.h index 561fcbac88..d0520bf435 100644 --- a/util/thread/factory.h +++ b/util/thread/factory.h @@ -55,7 +55,7 @@ public: return ret; } - THolder<IThread> Run(std::function<void()> func); + THolder<IThread> Run(const std::function<void()>& func); private: virtual IThread* DoCreate() = 0; |