Skip to content

Commit

Permalink
Merge pull request #1275 from capnm/fix-clang-virt_destructor-warning
Browse files Browse the repository at this point in the history
clang: Add CallableCustomMethodPointerBase virtual destructor
  • Loading branch information
dsnopek authored Oct 19, 2023
2 parents 5c4a7dc + a926b96 commit 7a3cfe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/godot_cpp/variant/callable_method_pointer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7a3cfe8

Please sign in to comment.