Commit 22551cff authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed AST::asName() cast.

parent b60cbecd
......@@ -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;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment