forked from qt-creator/qt-creator
Utils: Purge asConst
Replace by qAsConst. Change-Id: I3301366f73c066c86f08df7188d70dc3b613c55c Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
11336fb604
commit
7d3a79c696
@@ -48,7 +48,6 @@
|
||||
#include <projectexplorer/projecttree.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/asconst.h>
|
||||
#include <utils/macroexpander.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
@@ -593,7 +592,7 @@ Utils::FileNameList Project::files(const Project::NodeMatcher &filter) const
|
||||
result.append(projectFilePath());
|
||||
|
||||
Utils::FileName lastAdded;
|
||||
for (const Node *n : Utils::asConst(d->m_sortedNodeList)) {
|
||||
for (const Node *n : qAsConst(d->m_sortedNodeList)) {
|
||||
if (filter && !filter(n))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user