summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-01-10 21:08:40 +1100
committerBastiaanOlij <mux213@gmail.com>2017-01-10 21:42:14 +1100
commitbf990b0822c1b5a09f9584ed7c2b83edecabf375 (patch)
tree1ca9c6a602571c92277b3a0b822fa9ef4c45eab6 /core
parent48097f6df364b040848fb8963f15738d760a72ed (diff)
Few small fixes so tools=no and target=release compiles
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;
}
#