forked from qt-creator/qt-creator
C++: Move the ModelManagerInterface from CppTools to CPlusPlus.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <TranslationUnit.h>
|
||||
#include <AST.h>
|
||||
#include <cpptools/cppcodeformatter.h>
|
||||
#include <cpptools/cppmodelmanager.h>
|
||||
#include <texteditor/texteditorsettings.h>
|
||||
#include <texteditor/tabsettings.h>
|
||||
|
||||
@@ -47,7 +48,7 @@ using namespace Utils;
|
||||
|
||||
CppRefactoringChanges::CppRefactoringChanges(const Snapshot &snapshot)
|
||||
: m_snapshot(snapshot)
|
||||
, m_modelManager(CppTools::CppModelManagerInterface::instance())
|
||||
, m_modelManager(Internal::CppModelManager::instance())
|
||||
{
|
||||
Q_ASSERT(m_modelManager);
|
||||
m_workingCopy = m_modelManager->workingCopy();
|
||||
|
||||
Reference in New Issue
Block a user