diff options
author | marxin <mliska@suse.cz> | 2019-04-02 14:07:29 +0200 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-04-02 14:07:29 +0200 |
commit | f9f2413e69b9bd821c4e871f1ce46d3a5eafeb0c (patch) | |
tree | 7b2ec5acaf243dca2da138832741104a8d8c9ec3 /scene | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) |
Fix -Wnon-virtual-dtor warnings.
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/text_edit.h | 1 |
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; |