Skip to content

Commit

Permalink
Merge pull request #63104 from Bromeon/3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Jul 17, 2022
2 parents e8e040a + e69a039 commit 06a12c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gdnative/gdnative/string_name.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ const void GDAPI *godot_string_name_get_data_unique_pointer(const godot_string_n
godot_bool GDAPI godot_string_name_operator_equal(const godot_string_name *p_self, const godot_string_name *p_other) {
const StringName *self = (const StringName *)p_self;
const StringName *other = (const StringName *)p_other;
return self == other;
return *self == *other;
}

godot_bool GDAPI godot_string_name_operator_less(const godot_string_name *p_self, const godot_string_name *p_other) {
const StringName *self = (const StringName *)p_self;
const StringName *other = (const StringName *)p_other;
return self < other;
return *self < *other;
}

void GDAPI godot_string_name_destroy(godot_string_name *p_self) {
Expand Down

0 comments on commit 06a12c0

Please sign in to comment.