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]
This commit is contained in:
marxin
2019-04-02 14:07:29 +02:00
parent 612a109b81
commit f9f2413e69
3 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public:
virtual bool is_using_vsync() const = 0;
ContextGL();
~ContextGL();
virtual ~ContextGL();
};
#endif