diff --git a/c-opopt.cc b/c-opopt.cc index d419afa..8aa7744 100644 --- a/c-opopt.cc +++ b/c-opopt.cc @@ -181,7 +181,7 @@ void T_OptData::buildControlFlowGraph( T_AutoArray< T_StackEntry_ , 8 > stack; T_Array< T_CallSite_ > callSites; RP_CFN_ cNode{ nullptr }; - visitor.visit( program.root , [&]( auto& node , const bool exit ) { + visitor.visit( program.root , [&]( A_Node& node , const bool exit ) { const auto nt{ node.type( ) }; // Handle start/end of functions