Cppcheck warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-08-08 15:07:26 +03:00
parent 80f00b361d
commit 67614bcd0b

View File

@ -663,7 +663,7 @@ bool QmuParserTokenReader::IsOprt ( token_type &a_Tok )
}
// Check if the operator is a built in operator, if so ignore it here
const QStringList pOprtDef = m_pParser->GetOprtDef();
const QStringList &pOprtDef = m_pParser->GetOprtDef();
QStringList::const_iterator constIterator;
for ( constIterator = pOprtDef.constBegin(); m_pParser->HasBuiltInOprt() && constIterator != pOprtDef.constEnd();
++constIterator )