Optimizer - Fixed syntax that confused older G++

This commit is contained in:
Emmanuel BENOîT 2017-12-05 06:52:03 +01:00
parent 3d500d4976
commit 9151ceb2c9

View file

@ -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