Merge pull request #1275 from capnm/fix-clang-virt_destructor-warning

clang: Add CallableCustomMethodPointerBase virtual destructor
pull/1230/head
David Snopek 2023-10-19 09:06:45 -05:00 committed by GitHub
commit 7a3cfe8089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class CallableCustomMethodPointerBase {
public:
virtual Object *get_object() const = 0;
virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const = 0;
virtual ~CallableCustomMethodPointerBase() {}
};
namespace internal {