[ClavaWeaver] Updates CxxWeaver.getAstMethods()
@@ -2008,7 +2008,7 @@ public class CxxWeaver extends ACxxWeaver {
}
@Override
- public AstMethods<?> getAstMethods() {
- return new TreeNodeAstMethods<>(node -> CxxJoinpoints.create((ClavaNode) node));
+ public AstMethods getAstMethods() {
+ return new TreeNodeAstMethods<>(this, ClavaNode.class, node -> CxxJoinpoints.create(node));
}
}
