summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/rid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/rid.h b/core/rid.h
index 466e922968..8dc535c9c1 100644
--- a/core/rid.h
+++ b/core/rid.h
@@ -113,15 +113,15 @@ protected:
#ifndef DEBUG_ENABLED
- _FORCE_INLINE_ bool _is_owner(RID& p_rid) const {
+ _FORCE_INLINE_ bool _is_owner(const RID& p_rid) const {
- return this==p_rid._owner;
+ return this==p_rid._data->_owner;
}
_FORCE_INLINE_ void _remove_owner(RID& p_rid) {
- return p_rid._owner=NULL;
+ p_rid._data->_owner=NULL;
}
#