Fix internal name coercion error with new interrogate system

This commit is contained in:
rdb 2015-02-08 13:04:53 +01:00
parent b2f73d0877
commit f6453fd83e

View File

@ -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: