diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/example/find_div0s.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp index 6645466cc..4528c7cb4 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -39,7 +39,7 @@ int main() { // Search it for divisions by zero: Walk the module, looking for // that operation. - struct DivZeroSeeker : public PostWalker<DivZeroSeeker> { + struct DivZeroSeeker : public PostWalker<DivZeroSeeker, Visitor<DivZeroSeeker>> { void visitBinary(Binary* curr) { // In every Binary, look for integer divisions if (curr->op == BinaryOp::DivS || curr->op == BinaryOp::DivU) { |