Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/godot_cpp/core/object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct MethodInfo {
GDExtensionClassMethodArgumentMetadata return_val_metadata;
LocalVector<GDExtensionClassMethodArgumentMetadata> arguments_metadata;

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); }

operator Dictionary() const;
Expand Down
Loading