Merge pull request #998 from asmaloney/fix-virtual-destructor

"Wrapped" has virtual functions so it should have a virtual destructor.
pull/1005/head
Fabio Alessandrelli 2023-01-19 13:27:42 +01:00 committed by GitHub
commit 2eb375e486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ protected:
Wrapped(const StringName p_godot_class); Wrapped(const StringName p_godot_class);
Wrapped(GodotObject *p_godot_object); Wrapped(GodotObject *p_godot_object);
virtual ~Wrapped() {}
public: public:
static StringName &get_class_static() { static StringName &get_class_static() {