Commit 3088f0e5 authored by oscar's avatar oscar

修改枚举到int的转换

parent 422b2a95
......@@ -82,7 +82,7 @@ int TimeQueueObj::GetQueueData(std::vector<TimeQueueDataPtr>& outs)
});
outs.clear();
int num = 0;
if (m_enumCount[m_baseEnum] <= 0)
if (m_enumCount[static_cast<int>(m_baseEnum)] <= 0)
{
return -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