QuickFix: Don't separate createChanges from perform.

This will allow a more efficient and direct implementation.
This commit is contained in:
Christian Kamm
2010-08-12 11:41:15 +02:00
parent 235f4d1d26
commit ca5076e5ae
6 changed files with 39 additions and 31 deletions

View File

@@ -136,15 +136,10 @@ public:
/*!
Perform this quick-fix's operation.
This implementation will call perform and then RefactoringChanges::apply() .
*/
virtual void perform();
/*!
Subclasses should implement this method to do the actual changes by using the
RefactoringChanges.
*/
virtual void createChanges() = 0;
virtual void perform() = 0;
protected:
virtual TextEditor::RefactoringChanges *refactoringChanges() const = 0;