From 9151ceb2c9e1ffbd69cd1ea3357bfd95bd3c1bec Mon Sep 17 00:00:00 2001 From: Emmanuel Benoit Date: Tue, 5 Dec 2017 06:52:03 +0100 Subject: [PATCH] Optimizer - Fixed syntax that confused older G++ --- c-opopt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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