diff --git a/src/AST/ASTVisitor.cs b/src/AST/ASTVisitor.cs index 7589f842..f507035a 100644 --- a/src/AST/ASTVisitor.cs +++ b/src/AST/ASTVisitor.cs @@ -137,7 +137,7 @@ namespace CppSharp.AST return typedef.Declaration.Visit(this); } - public bool VisitDecayedType(DecayedType decayed, TypeQualifiers quals) + public virtual bool VisitDecayedType(DecayedType decayed, TypeQualifiers quals) { if (!VisitType(decayed, quals)) return false; @@ -422,4 +422,4 @@ namespace CppSharp.AST #endregion } -} \ No newline at end of file +}