Merge pull request #69946 from godotengine/revert-59234-3.x-rid-comparison-id
Revert "RID: Change comparison operators to use RID_Data id instead of address"
This commit is contained in:
commit
9ef525c3a0
1 changed files with 3 additions and 3 deletions
|
@ -68,13 +68,13 @@ public:
|
|||
return _data == p_rid._data;
|
||||
}
|
||||
_FORCE_INLINE_ bool operator<(const RID &p_rid) const {
|
||||
return get_id() < p_rid.get_id();
|
||||
return _data < p_rid._data;
|
||||
}
|
||||
_FORCE_INLINE_ bool operator<=(const RID &p_rid) const {
|
||||
return get_id() <= p_rid.get_id();
|
||||
return _data <= p_rid._data;
|
||||
}
|
||||
_FORCE_INLINE_ bool operator>(const RID &p_rid) const {
|
||||
return get_id() > p_rid.get_id();
|
||||
return _data > p_rid._data;
|
||||
}
|
||||
_FORCE_INLINE_ bool operator!=(const RID &p_rid) const {
|
||||
return _data != p_rid._data;
|
||||
|
|
Loading…
Reference in a new issue