Commit 05d0d39d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Build with strict iterators

parent f654da8b
......@@ -383,7 +383,7 @@ void KateSyntaxDocument::setupModeList (bool force)
}
// Let's iterate through the list and build the Mode List
for ( QStringList::ConstIterator it = list.begin(); it != list.end(); ++it )
for ( QStringList::ConstIterator it = list.constBegin(); it != list.constEnd(); ++it )
{
// Each file has a group called:
QString Group="Cache "+ *it;
......
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