summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fuzzing.h')
-rw-r--r--src/tools/fuzzing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/fuzzing.h b/src/tools/fuzzing.h
index 7e46a8eea..af5773e80 100644
--- a/src/tools/fuzzing.h
+++ b/src/tools/fuzzing.h
@@ -766,17 +766,17 @@ private:
Index i = controlFlowStack.size() - 1;
while (1) {
auto* curr = controlFlowStack[i];
- if (Block* block = curr->template dynCast<Block>()) {
+ if (Block* block = curr->dynCast<Block>()) {
if (name == block->name) {
return true;
}
- } else if (Loop* loop = curr->template dynCast<Loop>()) {
+ } else if (Loop* loop = curr->dynCast<Loop>()) {
if (name == loop->name) {
return true;
}
} else {
// an if, ignorable
- assert(curr->template is<If>());
+ assert(curr->is<If>());
}
if (i == 0) {
return false;