Fix Linux build warning and error

This commit is contained in:
Bjørn Erik Jensen
2017-11-20 08:57:20 +01:00
parent 31a84181e6
commit e0b6062eca
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ void CmdFeatureMenuBuilder::appendToMenu(QMenu* menu)
CVF_ASSERT(menu);
std::vector<QMenu*> menus = { menu };
for (int i = 0; i < m_items.size(); i++)
for (size_t i = 0; i < m_items.size(); i++)
{
if (m_items[i].itemType == MenuItem::SEPARATOR)
{