diff options
Diffstat (limited to 'core/rid.h')
-rw-r--r-- | core/rid.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/rid.h b/core/rid.h index 85a69ac0ef..92b7e6ee69 100644 --- a/core/rid.h +++ b/core/rid.h @@ -181,6 +181,14 @@ public: } + + _FORCE_INLINE_ T * getptr(const RID& p_rid) { + + return static_cast<T*>(p_rid.get_data()); + + } + + _FORCE_INLINE_ bool owns(const RID& p_rid) const { if (p_rid.get_data()==NULL) |