diff options
| -rw-r--r-- | src/Document.cxx | 9 | ||||
| -rw-r--r-- | src/RESearch.h | 2 | 
2 files changed, 1 insertions, 10 deletions
| diff --git a/src/Document.cxx b/src/Document.cxx index 4450954b4..94d126a70 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2880,7 +2880,7 @@ public:  };  // Define a way for the Regular Expression code to access the document -class DocumentIndexer : public CharacterIndexer { +class DocumentIndexer final : public CharacterIndexer {  	Document *pdoc;  	Sci::Position end;  public: @@ -2888,13 +2888,6 @@ public:  		pdoc(pdoc_), end(end_) {  	} -	DocumentIndexer(const DocumentIndexer &) = delete; -	DocumentIndexer(DocumentIndexer &&) = delete; -	DocumentIndexer &operator=(const DocumentIndexer &) = delete; -	DocumentIndexer &operator=(DocumentIndexer &&) = delete; - -	~DocumentIndexer() override = default; -  	char CharAt(Sci::Position index) const noexcept override {  		if (index < 0 || index >= end)  			return 0; diff --git a/src/RESearch.h b/src/RESearch.h index 306d1b3d1..34c6c46f9 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -14,8 +14,6 @@ namespace Scintilla::Internal {  class CharacterIndexer {  public:  	virtual char CharAt(Sci::Position index) const=0; -	virtual ~CharacterIndexer() { -	}  };  class RESearch { | 
