Commit 2cfbf20a authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Nikolai Kosjar

Clang: Compile fix for CLANG_INDEXING=1

Change-Id: Id095832a388ad4aac1657b762bdb8c9f667744d9
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
parent db215dcf
......@@ -705,7 +705,7 @@ void IndexerPrivate::runCore(const QHash<QString, FileData> & /*headers*/,
QList<Core::IDocument *> docs = Core::DocumentModel::openedDocuments();
QSet<QString> openDocs;
foreach (Core::IDocument *doc, docs)
openDocs.insert(doc->filePath());
openDocs.insert(doc->filePath().toString());
for (FileContIt tit = impls.begin(), eit = impls.end(); tit != eit; ++tit) {
if (!tit->m_upToDate && openDocs.contains(tit.key())) {
......
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