Skip to content

Commit

Permalink
Add missing initializer for WorkQueue::m_NextTaskID
Browse files Browse the repository at this point in the history
fixes #12545
  • Loading branch information
gunnarbeutner committed Aug 29, 2016
1 parent 81f8dc2 commit ce2f700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base/workqueue.cpp
Expand Up @@ -34,7 +34,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);
Expand Down

0 comments on commit ce2f700

Please sign in to comment.