summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-02 18:25:02 +0200
committerGitHub <noreply@github.com>2019-04-02 18:25:02 +0200
commit25c1363a1167cc5833111e78e33b2561f1ceb76c (patch)
treecde76141329ed4ddeddd71c93c102431421bd482 /scene/gui
parentf5013e327769df7168e5f6bd68aa6309d2b825de (diff)
parentf9f2413e69b9bd821c4e871f1ce46d3a5eafeb0c (diff)
Merge pull request #27597 from marxin/fix-Wnon-virtual-dtor-warnings
Fix -Wnon-virtual-dtor warnings.
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/text_edit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h
index 95f1fbbee5..33f0a3f45d 100644
--- a/scene/gui/text_edit.h
+++ b/scene/gui/text_edit.h
@@ -683,6 +683,7 @@ protected:
TextEdit *text_editor;
public:
+ virtual ~SyntaxHighlighter() {}
virtual void _update_cache() = 0;
virtual Map<int, TextEdit::HighlighterInfo> _get_line_syntax_highlighting(int p_line) = 0;