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:
Christian Kandeler
2023-11-16 17:33:35 +01:00
parent 5d6fc1fc3b
commit 246a878a34
6 changed files with 9 additions and 27 deletions

View File

@@ -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;
};