You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix StringName comparison
This commit is contained in:
@@ -117,6 +117,15 @@ public:
|
|||||||
_FORCE_INLINE_ bool operator<(const StringName &p_name) const {
|
_FORCE_INLINE_ bool operator<(const StringName &p_name) const {
|
||||||
return _data < p_name._data;
|
return _data < p_name._data;
|
||||||
}
|
}
|
||||||
|
_FORCE_INLINE_ bool operator<=(const StringName &p_name) const {
|
||||||
|
return _data <= p_name._data;
|
||||||
|
}
|
||||||
|
_FORCE_INLINE_ bool operator>(const StringName &p_name) const {
|
||||||
|
return _data > p_name._data;
|
||||||
|
}
|
||||||
|
_FORCE_INLINE_ bool operator>=(const StringName &p_name) const {
|
||||||
|
return _data >= p_name._data;
|
||||||
|
}
|
||||||
_FORCE_INLINE_ bool operator==(const StringName &p_name) const {
|
_FORCE_INLINE_ bool operator==(const StringName &p_name) const {
|
||||||
// the real magic of all this mess happens here.
|
// the real magic of all this mess happens here.
|
||||||
// this is why path comparisons are very fast
|
// this is why path comparisons are very fast
|
||||||
|
|||||||
Reference in New Issue
Block a user