summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-04-02 14:07:29 +0200
committermarxin <mliska@suse.cz>2019-04-02 14:07:29 +0200
commitf9f2413e69b9bd821c4e871f1ce46d3a5eafeb0c (patch)
tree7b2ec5acaf243dca2da138832741104a8d8c9ec3 /core
parent612a109b81320fcd2f06e5ddff71925d81aca509 (diff)
downloadredot-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.h2
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 {