Skip to content

Commit d055b57

Browse files
Fix incorrect utility call signature
1 parent 7d4a24c commit d055b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/godot_cpp/core/engine_ptrcall.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) {
7777
}
7878

7979
template <typename... Args>
80-
Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, void *instance, const Args &...args) {
80+
Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) {
8181
GodotObject *ret = nullptr;
8282
std::array<GDExtensionConstTypePtr, sizeof...(Args)> mb_args = { { (GDExtensionConstTypePtr)args... } };
8383
func(&ret, mb_args.data(), mb_args.size());

0 commit comments

Comments
 (0)