diff -r df89dd6c9be5 src/core/ptr.h --- a/src/core/ptr.h Thu Mar 26 17:59:21 2009 +0100 +++ b/src/core/ptr.h Fri Mar 27 12:52:07 2009 +0100 @@ -106,7 +106,7 @@ T *operator -> () const; T *operator -> (); const T &operator * () const; - const T &operator * (); + T &operator * (); // allow if (!sp) bool operator! (); // allow if (sp) @@ -486,7 +486,7 @@ } template -const T & +T & Ptr::operator * () { return *m_ptr;