From 7e8b3e2dbe72e5962cbea4c079c652f2d4e0a15c Mon Sep 17 00:00:00 2001 From: paulc Date: Thu, 1 Jun 2006 14:36:53 +0000 Subject: [PATCH] Constified two RefPointer accessors. git-svn-id: http://yate.null.ro/svn/yate/trunk@827 acf43c95-373e-0410-b603-e72c3f656dc1 --- yateclass.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yateclass.h b/yateclass.h index 180228f6..133debe5 100644 --- a/yateclass.h +++ b/yateclass.h @@ -760,13 +760,13 @@ public: /** * Member access operator */ - inline Obj* operator->() + inline Obj* operator->() const { return pointer(); } /** * Dereferencing operator */ - inline Obj& operator*() + inline Obj& operator*() const { return *pointer(); } };