diff --git a/src/core/reference-list.h b/src/core/reference-list.h index 1f21a39a6..6174d4a23 100644 --- a/src/core/reference-list.h +++ b/src/core/reference-list.h @@ -79,14 +79,14 @@ public: InsertSelfInOther (o); return *this; } - OBJ_PTR operator-> () { + OBJ_PTR operator-> () const { return m_objPtr; } void Set (OBJ_PTR objPtr) { RemoveFromList (); m_objPtr = objPtr; } - OBJ_PTR Get (void) { + OBJ_PTR Get (void) const { // explicit conversion to raw pointer type. return m_objPtr; }