summaryrefslogtreecommitdiff
path: root/core/rid.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2020-11-04 23:01:55 -0300
committerreduz <reduzio@gmail.com>2020-11-06 12:45:50 -0300
commitf2397809a84c2bf0d41e6cb2092fa8f3c5a17850 (patch)
tree1eb1930e9124c5ecf77840e80ebed64cbb85608c /core/rid.h
parent391d29f558d122798416b5957660d9eeceecd0f5 (diff)
Refactored Variant Operators.
-Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
Diffstat (limited to 'core/rid.h')
-rw-r--r--core/rid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/rid.h b/core/rid.h
index 4b65f3fb6a..a475d166d5 100644
--- a/core/rid.h
+++ b/core/rid.h
@@ -52,6 +52,9 @@ public:
_FORCE_INLINE_ bool operator>(const RID &p_rid) const {
return _id > p_rid._id;
}
+ _FORCE_INLINE_ bool operator>=(const RID &p_rid) const {
+ return _id >= p_rid._id;
+ }
_FORCE_INLINE_ bool operator!=(const RID &p_rid) const {
return _id != p_rid._id;
}