[ClavaAst] Fixes bug in BaseInit code generation
@@ -32,6 +32,8 @@ public class BaseInit extends CXXCtorInitializer {
// System.out.println("BASE CTOR DATA: " + toString());
// System.out.println("BASE CTOR CONSTRUCTOR:" + sourceNode.toTree());
// System.out.println("BASE INIT EXPR: " + get(BaseInit.INIT_EXPR).getCode());
- return get(BASE_CLASS).getCode(sourceNode) + "(" + get(BaseInit.INIT_EXPR).getCode() + ")";
+
+ // return get(BASE_CLASS).getCode(sourceNode) + "(" + get(BaseInit.INIT_EXPR).getCode() + ")";
+ return get(BaseInit.INIT_EXPR).getCode();
}
}
