Skip to content

Commit a716f19

Browse files
committed
Merge branch 'contrib' of github.com:Lemno-Studio/godot-cpp into contrib
2 parents c7813e3 + 8d13347 commit a716f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/godot_cpp/core/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct MethodInfo {
7070
GDExtensionClassMethodArgumentMetadata return_val_metadata;
7171
LocalVector<GDExtensionClassMethodArgumentMetadata> arguments_metadata;
7272

73-
inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id; }
73+
inline bool operator==(const MethodInfo &p_method) const { return id == p_method.id && name == p_method.name; }
7474
inline bool operator<(const MethodInfo &p_method) const { return id == p_method.id ? (name < p_method.name) : (id < p_method.id); }
7575

7676
operator Dictionary() const;

0 commit comments

Comments
 (0)