You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Include name field in MethodInfo operator ==
This commit is contained in:
@@ -235,7 +235,7 @@ struct MethodInfo {
|
|||||||
return arguments_metadata.size() > p_arg ? arguments_metadata[p_arg] : 0;
|
return arguments_metadata.size() > p_arg ? arguments_metadata[p_arg] : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id; }
|
inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id && name == p_method.name; }
|
||||||
inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); }
|
inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); }
|
||||||
|
|
||||||
operator Dictionary() const;
|
operator Dictionary() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user