From f6453fd83e5dfc8893ecacbce971252a2edf764e Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 8 Feb 2015 13:04:53 +0100 Subject: [PATCH] Fix internal name coercion error with new interrogate system --- panda/src/gobj/internalName.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/gobj/internalName.h b/panda/src/gobj/internalName.h index 079f7a29da..a8fde6729f 100644 --- a/panda/src/gobj/internalName.h +++ b/panda/src/gobj/internalName.h @@ -191,8 +191,8 @@ INLINE ostream &operator << (ostream &out, const InternalName &tcn); // by the compiler when passed to such a function. //////////////////////////////////////////////////////////////////// #ifdef CPPPARSER -// This construct confuses interrogate, so we give it a typedef. -typedef const InternalName *CPT_InternalName; +// The construct below confuses interrogate, so we give it a typedef. +typedef ConstPointerTo CPT_InternalName; #else class CPT_InternalName : public ConstPointerTo { public: