aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx9
1 files changed, 1 insertions, 8 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;