Add missing initializer for WorkQueue::m_NextTaskID

fixes #12545
This commit is contained in:
Gunnar Beutner 2016-08-25 11:57:00 +02:00
parent ce7b6e4f87
commit 092f2ee099
1 changed files with 1 additions and 1 deletions

View File

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