forked from qt-creator/qt-creator
Lambda cleanup
Change-Id: Ia7f1d530e01d4ae3990713e23d672249d9489561 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
8da0742ae2
commit
7fbd4b7c6a
@@ -172,7 +172,7 @@ QStringList CppModelManager::timeStampModifiedFiles(const QList<Document::Ptr> &
|
||||
CppSourceProcessor *CppModelManager::createSourceProcessor()
|
||||
{
|
||||
CppModelManager *that = instance();
|
||||
return new CppSourceProcessor(that->snapshot(), [=](const Document::Ptr &doc) {
|
||||
return new CppSourceProcessor(that->snapshot(), [that](const Document::Ptr &doc) {
|
||||
that->emitDocumentUpdated(doc);
|
||||
doc->releaseSourceAndAST();
|
||||
});
|
||||
|
Reference in New Issue
Block a user