diff --git a/source/ast/types/AllTypes.cpp b/source/ast/types/AllTypes.cpp index 0abbbdeb8..212d9fab6 100644 --- a/source/ast/types/AllTypes.cpp +++ b/source/ast/types/AllTypes.cpp @@ -35,7 +35,7 @@ using namespace slang::ast; class InterfaceDefVisitor : public ASTVisitor { public: InterfaceDefVisitor(const InstanceSymbol& iface, const ASTContext& context) : - iface(iface), context(context){}; + iface(iface), context(context) {}; template void handle(const T& symbol) { if constexpr (std::is_base_of_v) {