Skip to content

Commit 973a98f

Browse files
authored
Merge pull request #1945 from DrCosinus/master
Fix variadic version of the callp_static method of the Variant class.
2 parents a7b6c01 + 362e09e commit 973a98f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/godot_cpp/variant/variant.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class Variant {
299299
}
300300
Variant result;
301301
GDExtensionCallError error;
302-
callp_static(type, method, argptrs.data(), argptrs.size(), sizeof...(args), result, error);
302+
callp_static(type, method, argptrs.data(), argptrs.size(), result, error);
303303
return result;
304304
}
305305

0 commit comments

Comments
 (0)