summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TextEditor.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-07 19:32:40 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-07 19:32:40 +0100
commit33c7017f6ee30099d5f7fd888e8af8d5acc44de7 (patch)
treefe0be4765103ed549fda58fe9d72cc9dcc48668a /Userland/Libraries/LibGUI/TextEditor.h
parentb466ede1eab7c803674d8375e193b87a0e6f936b (diff)
downloadserenity-33c7017f6ee30099d5f7fd888e8af8d5acc44de7.zip
LibGUI: Add missing "final" in TextEditor
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.h')
-rw-r--r--Userland/Libraries/LibGUI/TextEditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.h b/Userland/Libraries/LibGUI/TextEditor.h
index 0f5d36e07c..8ec190883c 100644
--- a/Userland/Libraries/LibGUI/TextEditor.h
+++ b/Userland/Libraries/LibGUI/TextEditor.h
@@ -246,7 +246,7 @@ private:
// ^Syntax::HighlighterClient
virtual Vector<TextDocumentSpan>& spans() final { return document().spans(); }
virtual const Vector<TextDocumentSpan>& spans() const final { return document().spans(); }
- virtual void highlighter_did_set_spans(Vector<TextDocumentSpan> spans) { document().set_spans(move(spans)); }
+ virtual void highlighter_did_set_spans(Vector<TextDocumentSpan> spans) final { document().set_spans(move(spans)); }
virtual void set_span_at_index(size_t index, TextDocumentSpan span) final { document().set_span_at_index(index, move(span)); }
virtual void highlighter_did_request_update() final { update(); }
virtual String highlighter_did_request_text() const final { return text(); }