We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a62f633 commit fb2399eCopy full SHA for fb2399e
include/godot_cpp/core/engine_ptrcall.hpp
@@ -77,7 +77,7 @@ R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) {
77
}
78
79
template <class... Args>
80
-Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, void *instance, const Args &...args) {
+Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) {
81
GodotObject *ret = nullptr;
82
std::array<GDExtensionConstTypePtr, sizeof...(Args)> mb_args = { { (GDExtensionConstTypePtr)args... } };
83
func(&ret, mb_args.data(), mb_args.size());
0 commit comments