forked from qt-creator/qt-creator
CppTools: modernize
Change-Id: Iaf02e4d026f1ac8b216833d83cd7a735e21ff60a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -303,13 +303,13 @@ void CompilerOptionsBuilder::addHeaderPathOptions()
|
||||
}
|
||||
|
||||
|
||||
for (const HeaderPath &headerPath : filter.userHeaderPaths)
|
||||
for (const HeaderPath &headerPath : qAsConst(filter.userHeaderPaths))
|
||||
addIncludeDirOptionForPath(headerPath);
|
||||
|
||||
for (const HeaderPath &headerPath : filter.systemHeaderPaths)
|
||||
for (const HeaderPath &headerPath : qAsConst(filter.systemHeaderPaths))
|
||||
addIncludeDirOptionForPath(headerPath);
|
||||
|
||||
for (const HeaderPath &headerPath : filter.builtInHeaderPaths)
|
||||
for (const HeaderPath &headerPath : qAsConst(filter.builtInHeaderPaths))
|
||||
addIncludeDirOptionForPath(headerPath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user