forked from qt-creator/qt-creator
		
	Reuse local snapshot reference
This commit is contained in:
		| @@ -807,7 +807,7 @@ int CppCodeCompletion::startCompletionInternal(TextEditor::BaseTextEditor *edit, | ||||
|     if (! thisDocument) | ||||
|         return -1; | ||||
|  | ||||
|     typeOfExpression.setSnapshot(m_manager->snapshot()); | ||||
|     typeOfExpression.setSnapshot(snapshot); | ||||
|     Symbol *lastVisibleSymbol = thisDocument->findSymbolAt(line, column); | ||||
|  | ||||
|     if (expression.isEmpty()) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user