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:
@@ -49,7 +49,7 @@
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/headerpath.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <cpptools/cppmodelmanagerinterface.h>
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/icontext.h>
|
||||
#include <utils/qtcassert.h>
|
||||
@@ -400,8 +400,8 @@ QList<Node *> AutotoolsProject::nodes(FolderNode *parent) const
|
||||
|
||||
void AutotoolsProject::updateCppCodeModel()
|
||||
{
|
||||
CppTools::CppModelManagerInterface *modelManager =
|
||||
CppTools::CppModelManagerInterface::instance();
|
||||
CppTools::CppModelManager *modelManager =
|
||||
CppTools::CppModelManager::instance();
|
||||
|
||||
if (!modelManager)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user