Skip to content

Commit 3143af9

Browse files
committed
Forgot default visitor for C version
1 parent 994b8da commit 3143af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: visitor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void DoNothingC(Instance *) {}
77

88
void
99
traverse_netlist_c(Netlist * n,
10-
void (*v)(Instance *)) {
10+
void (*v)(Instance *) = DoNothingC) {
1111
// ...
1212
// every time we encounter an instance, call the visitor
1313
Instance * inst;

0 commit comments

Comments
 (0)