diff options
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentprocessor.cpp')
-rw-r--r-- | src/plugins/cpptools/baseeditordocumentprocessor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cpptools/baseeditordocumentprocessor.cpp b/src/plugins/cpptools/baseeditordocumentprocessor.cpp index 373624a9ea..d627ab3cb7 100644 --- a/src/plugins/cpptools/baseeditordocumentprocessor.cpp +++ b/src/plugins/cpptools/baseeditordocumentprocessor.cpp @@ -31,6 +31,7 @@ #include "baseeditordocumentprocessor.h" #include "cppworkingcopy.h" +#include "cpptoolsreuse.h" #include "editordocumenthandle.h" #include <utils/qtcassert.h> @@ -118,7 +119,7 @@ QList<QTextEdit::ExtraSelection> BaseEditorDocumentProcessor::toTextEditorSelect void BaseEditorDocumentProcessor::runParser(QFutureInterface<void> &future, BaseEditorDocumentParser *parser, - WorkingCopy workingCopy) + BaseEditorDocumentParser::InMemoryInfo info) { future.setProgressRange(0, 1); if (future.isCanceled()) { @@ -126,7 +127,7 @@ void BaseEditorDocumentProcessor::runParser(QFutureInterface<void> &future, return; } - parser->update(workingCopy); + parser->update(info); CppModelManager::instance() ->finishedRefreshingSourceFiles(QSet<QString>() << parser->filePath()); |