diff --git a/src/V3Ast.h b/src/V3Ast.h index dbc31cdab..89ae5a35b 100644 --- a/src/V3Ast.h +++ b/src/V3Ast.h @@ -2043,7 +2043,7 @@ public: // Same as above, but for 'const' nodes template - void forall(std::function p) const { + bool forall(std::function p) const { static_assert(checkTypeParameter(), "Invalid type parameter 'T_Node'"); return predicateImpl(this, p); }