forked from qt-creator/qt-creator
TextEditor: Remove RefactoringChanges::m_data
There is no use for a data member in the base class. Change-Id: I126d8713d2a7bf4061ecbd60b4c144d39c08d550 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -112,7 +112,6 @@ class TEXTEDITOR_EXPORT RefactoringChanges
|
||||
public:
|
||||
using Range = Utils::ChangeSet::Range;
|
||||
|
||||
explicit RefactoringChanges(RefactoringChangesData *data = nullptr);
|
||||
virtual ~RefactoringChanges();
|
||||
|
||||
// TODO: Make pure virtual and introduce dedicated subclass for generic refactoring,
|
||||
@@ -132,8 +131,6 @@ protected:
|
||||
static RefactoringSelections rangesToSelections(QTextDocument *document,
|
||||
const QList<Range> &ranges);
|
||||
|
||||
QSharedPointer<RefactoringChangesData> m_data;
|
||||
|
||||
friend class RefactoringFile;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user