forked from qt-creator/qt-creator
Fix warning: "Mixing iterators with const_iterators"
[-Wclazy-strict-iterators] Change-Id: Ibc7e07a0f8390297589656c3c2ddfdd4c0151887 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -248,7 +248,7 @@ void UpdateIncludeDependenciesVisitor::collectElementPaths(const ProjectExplorer
|
||||
|
||||
qmt::MComponent *UpdateIncludeDependenciesVisitor::findComponentFromFilePath(const QString &filePath)
|
||||
{
|
||||
const auto it = m_filePathComponentsMap.find(filePath);
|
||||
const auto it = m_filePathComponentsMap.constFind(filePath);
|
||||
if (it != m_filePathComponentsMap.cend())
|
||||
return it.value();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user