diff --git a/src/core/model/ptr.h b/src/core/model/ptr.h index 48d1314c0..3188c1fe9 100644 --- a/src/core/model/ptr.h +++ b/src/core/model/ptr.h @@ -175,7 +175,7 @@ public: * A \c const dereference. * \returns A pointer to the underlying object. */ - const T &operator * () const; + T &operator * () const; /** * A dereference. * \returns A pointer to the underlying object. @@ -791,7 +791,7 @@ Ptr::operator -> () const } template -const T & +T & Ptr::operator * () const { return *m_ptr;