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:
Alessandro Portale
2019-01-16 12:40:15 +01:00
parent a929ffd066
commit 7f641d3c08
2 changed files with 2 additions and 2 deletions

View File

@@ -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();