From bf990b0822c1b5a09f9584ed7c2b83edecabf375 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Tue, 10 Jan 2017 21:08:40 +1100 Subject: Few small fixes so tools=no and target=release compiles --- core/rid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/rid.h b/core/rid.h index 466e92296..8dc535c9c 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; } # -- cgit v1.2.3-70-g09d2