Fixed AST::asName() cast.

This commit is contained in:
Roberto Raggi
2009-06-08 11:53:22 +02:00
parent b60cbecd72
commit 22551cffcc

View File

@@ -1262,6 +1262,8 @@ class CPLUSPLUS_EXPORT NameAST: public ExpressionAST
public: // annotations
Name *name;
virtual NameAST *asName() { return this; }
public:
virtual NameAST *clone(MemoryPool *pool) const = 0;
};