We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c8db40 + 9c5dae5 commit 41cfbd1Copy full SHA for 41cfbd1
include/godot_cpp/core/object.hpp
@@ -70,7 +70,7 @@ struct MethodInfo {
70
GDExtensionClassMethodArgumentMetadata return_val_metadata;
71
LocalVector<GDExtensionClassMethodArgumentMetadata> arguments_metadata;
72
73
- 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; }
74
inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); }
75
76
operator Dictionary() const;
0 commit comments