mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix internal name coercion error with new interrogate system
This commit is contained in:
parent
b2f73d0877
commit
f6453fd83e
@ -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<InternalName> CPT_InternalName;
|
||||
#else
|
||||
class CPT_InternalName : public ConstPointerTo<InternalName> {
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user