forked from qt-creator/qt-creator
CppEditor: Simplify CppRefactoringChanges class
Remove unneeded methods from API.
This commit is contained in:
@@ -102,7 +102,7 @@ CppQuickFixOperation::~CppQuickFixOperation()
|
||||
|
||||
void CppQuickFixOperation::perform()
|
||||
{
|
||||
CppRefactoringChanges refactoring(_state.document(), _state.snapshot());
|
||||
CppRefactoringChanges refactoring(_state.snapshot());
|
||||
CppRefactoringFile current = refactoring.file(fileName());
|
||||
|
||||
performChanges(¤t, &refactoring);
|
||||
|
||||
Reference in New Issue
Block a user