mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
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…
x
Reference in New Issue
Block a user