Removed dead code and improve test coverage
This commit is contained in:
@@ -25,15 +25,13 @@
|
||||
namespace clanguml::util {
|
||||
class thread_pool_executor {
|
||||
public:
|
||||
thread_pool_executor();
|
||||
explicit 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();
|
||||
|
||||
std::future<void> add(std::function<void()> &&task);
|
||||
|
||||
Reference in New Issue
Block a user