From 362e09eb7a53134110f367610b27c9338dd1dcc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DEZAUTEZ=20S=C3=A9bastien?= Date: Wed, 4 Mar 2026 20:37:41 +0100 Subject: [PATCH] Remove the extra parameter causing a compilation error when using the variadic version of the callp_static method of the Variant class. --- include/godot_cpp/variant/variant.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp index fe8e130a1..c829f84de 100644 --- a/include/godot_cpp/variant/variant.hpp +++ b/include/godot_cpp/variant/variant.hpp @@ -299,7 +299,7 @@ class Variant { } Variant result; GDExtensionCallError error; - callp_static(type, method, argptrs.data(), argptrs.size(), sizeof...(args), result, error); + callp_static(type, method, argptrs.data(), argptrs.size(), result, error); return result; }