Applied clang-tidy fixes in util

This commit is contained in:
Bartek Kryza
2022-12-20 21:22:04 +01:00
parent d6f2007a2b
commit 204156d81b
4 changed files with 39 additions and 34 deletions

View File

@@ -27,7 +27,12 @@ class thread_pool_executor {
public:
thread_pool_executor();
thread_pool_executor(unsigned int pool_size);
thread_pool_executor(const thread_pool_executor &) = delete;
thread_pool_executor(thread_pool_executor &&) = delete;
thread_pool_executor &operator=(const thread_pool_executor &) = delete;
thread_pool_executor &operator=(thread_pool_executor &&) = delete;
explicit thread_pool_executor(unsigned int pool_size);
~thread_pool_executor();
@@ -48,4 +53,4 @@ private:
std::vector<std::thread> threads_;
};
}
} // namespace clanguml::util