forked from qt-creator/qt-creator
Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
This change removes a number of wrong usages of the CppModelManager::documents()/document().
This commit is contained in:
@@ -77,7 +77,7 @@ LookupContext::LookupContext(Control *control)
|
||||
LookupContext::LookupContext(Symbol *symbol,
|
||||
Document::Ptr expressionDocument,
|
||||
Document::Ptr thisDocument,
|
||||
const QMap<QString, Document::Ptr> &documents)
|
||||
const Snapshot &documents)
|
||||
: _symbol(symbol),
|
||||
_expressionDocument(expressionDocument),
|
||||
_thisDocument(thisDocument),
|
||||
|
Reference in New Issue
Block a user