summaryrefslogtreecommitdiff
path: root/drivers/gl_context
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 /drivers/gl_context
parent612a109b81320fcd2f06e5ddff71925d81aca509 (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 'drivers/gl_context')
-rw-r--r--drivers/gl_context/context_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gl_context/context_gl.h b/drivers/gl_context/context_gl.h
index 13141d795c..890683b7c5 100644
--- a/drivers/gl_context/context_gl.h
+++ b/drivers/gl_context/context_gl.h
@@ -58,7 +58,7 @@ public:
virtual bool is_using_vsync() const = 0;
ContextGL();
- ~ContextGL();
+ virtual ~ContextGL();
};
#endif