From eb6aa8c0d8b939a6239b132027eddcddaaa12898 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Mon, 25 Nov 2002 20:36:53 +0000 Subject: [PATCH] oops --- panda/src/express/pointerTo.I | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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