You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Core] Use Vector for MethodInfo::arguments
This commit is contained in:
@@ -243,9 +243,8 @@ static bool _can_use_validate_call(const MethodBind *p_method, const Vector<GDSc
|
||||
}
|
||||
MethodInfo info;
|
||||
ClassDB::get_method_info(p_method->get_instance_class(), p_method->get_name(), &info);
|
||||
int i = 0;
|
||||
for (List<PropertyInfo>::ConstIterator itr = info.arguments.begin(); itr != info.arguments.end(); ++itr, ++i) {
|
||||
if (!_is_exact_type(*itr, p_arguments[i].type)) {
|
||||
for (int64_t i = 0; i < info.arguments.size(); ++i) {
|
||||
if (!_is_exact_type(info.arguments[i], p_arguments[i].type)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user