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 /core | |
parent | 612a109b81320fcd2f06e5ddff71925d81aca509 (diff) | |
download | redot-engine-f9f2413e69b9bd821c4e871f1ce46d3a5eafeb0c.tar.gz |
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 'core')
-rw-r--r-- | core/script_language.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index b6d7bea9c7..005e21e2cc 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -205,6 +205,8 @@ public: static ScriptCodeCompletionCache *get_singleton() { return singleton; } ScriptCodeCompletionCache(); + + virtual ~ScriptCodeCompletionCache() {} }; class ScriptLanguage { |