forked from qt-creator/qt-creator
CppTools: Change CppModelManager implementation pattern
Replace the CppModelManagerInterface/derived CppModelManager combo by a more common CppModelManager/CppModelManagerPrivate pimpl pattern. Change-Id: Ia4582845ed94d5ef60b8571bab9b2260c6290287 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -1901,7 +1901,7 @@ void AddIncludeForUndefinedIdentifier::match(const CppQuickFixInterface &interfa
|
||||
|
||||
// find the include paths
|
||||
ProjectPart::HeaderPaths headerPaths;
|
||||
CppModelManagerInterface *modelManager = CppModelManagerInterface::instance();
|
||||
CppModelManager *modelManager = CppModelManager::instance();
|
||||
QList<ProjectInfo> projectInfos = modelManager->projectInfos();
|
||||
bool inProject = false;
|
||||
foreach (const ProjectInfo &info, projectInfos) {
|
||||
|
||||
Reference in New Issue
Block a user