diff --git a/panda/src/express/pointerTo.I b/panda/src/express/pointerTo.I index dddcdc97cf..196a8b253e 100644 --- a/panda/src/express/pointerTo.I +++ b/panda/src/express/pointerTo.I @@ -453,20 +453,11 @@ operator -> () const { // correct. //////////////////////////////////////////////////////////////////// -#ifndef CPPPARSER template -INLINE TYPENAME ConstPointerTo:: +INLINE ConstPointerTo:: operator const TYPENAME PointerToBase::To *() const { return _ptr; } -#else -// work around lame interrogate parser bugs -template -INLINE ConstPointerTo:: -operator const PointerToBase::To *() const { - return _ptr; -} -#endif //////////////////////////////////////////////////////////////////// // Function: ConstPointerTo::p