C++: Untangle include file resolving from loading.

Change-Id: Iacf8cb12dd623c908538d80ee2595297a9bdde71
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Erik Verbruggen
2013-03-15 17:31:58 +01:00
committed by Nikolai Kosjar
parent 857457e057
commit 82e347095c
7 changed files with 82 additions and 86 deletions

View File

@@ -62,7 +62,7 @@ QByteArray FastPreprocessor::run(Document::Ptr newDoc, const QString &source)
return preprocessed;
}
void FastPreprocessor::sourceNeeded(unsigned line, QString &fileName, IncludeType)
void FastPreprocessor::sourceNeeded(unsigned line, const QString &fileName, IncludeType)
{
Q_ASSERT(_currentDoc);
// CHECKME: Is that cleanName needed?