Commit aae4d8ed authored by oscar's avatar oscar

提交赋值

parent d3a31453
......@@ -117,17 +117,17 @@ int TimeQueueObj::GetQueueData(std::vector<TimeQueueDataPtr>& outs)
isFinish = 1;
if ((*obj)->dataType != m_baseEnum)
{
if (m_enumCount[static_cast<int>((*iter)->dataType)] == 1)
if (m_enumCount[static_cast<int>((*obj)->dataType)] == 1)
obj++;
else
{
m_enumCount[static_cast<int>((*iter)->dataType)]--;
m_enumCount[static_cast<int>((*obj)->dataType)]--;
obj = m_timeQueue.erase(obj);
}
}
else
{
m_enumCount[static_cast<int>((*iter)->dataType)]--;
m_enumCount[static_cast<int>((*obj)->dataType)]--;
obj = m_timeQueue.erase(obj);
}
if (isFinish == 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment