mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
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]
(cherry picked from commit f9f2413e69)
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
virtual bool is_using_vsync() const = 0;
|
||||
|
||||
ContextGL();
|
||||
~ContextGL();
|
||||
virtual ~ContextGL();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user