1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-07 20:25:08 +02:00

Add missing initializer for WorkQueue::m_NextTaskID

fixes 
This commit is contained in:
Gunnar Beutner 2016-08-25 11:57:00 +02:00
parent ce7b6e4f87
commit 092f2ee099

@ -33,7 +33,7 @@ boost::thread_specific_ptr<WorkQueue *> l_ThreadWorkQueue;
WorkQueue::WorkQueue(size_t maxItems, int threadCount)
: m_ID(m_NextID++), m_ThreadCount(threadCount), m_Spawned(false), m_MaxItems(maxItems), m_Stopped(false),
m_Processing(0)
m_Processing(0), m_NextTaskID(0)
{
m_StatusTimer = new Timer();
m_StatusTimer->SetInterval(10);