mirror of https://github.com/Icinga/icinga2.git
ThreadPool#ThreadPool(): remove unused parameter
This commit is contained in:
parent
6414ce3742
commit
288ad68649
|
@ -5,8 +5,8 @@
|
|||
|
||||
using namespace icinga;
|
||||
|
||||
ThreadPool::ThreadPool(size_t threads)
|
||||
: m_Threads(threads), m_Pending(0)
|
||||
ThreadPool::ThreadPool()
|
||||
: m_Threads(Configuration::Concurrency * 2u), m_Pending(0)
|
||||
{
|
||||
Start();
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ class ThreadPool
|
|||
public:
|
||||
typedef std::function<void ()> WorkFunction;
|
||||
|
||||
ThreadPool(size_t threads = Configuration::Concurrency * 2u);
|
||||
ThreadPool();
|
||||
~ThreadPool();
|
||||
|
||||
void Start();
|
||||
|
|
Loading…
Reference in New Issue