From 53342fdd29e45f614af432551764745f97a7f878 Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Fri, 10 Dec 2021 09:27:58 -0800 Subject: [PATCH] skip type signatures for lambdas --- src/script_opt/CPP/DeclFunc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script_opt/CPP/DeclFunc.cc b/src/script_opt/CPP/DeclFunc.cc index c96530a16f..cdc95b5f2f 100644 --- a/src/script_opt/CPP/DeclFunc.cc +++ b/src/script_opt/CPP/DeclFunc.cc @@ -69,7 +69,7 @@ void CPPCompile::CreateFunction(const FuncTypePtr& ft, const ProfileFunc* pf, co func_index[fname] = cast; - if ( casting_index.count(cast) == 0 ) + if ( ! l && casting_index.count(cast) == 0 ) { casting_index[cast] = func_casting_glue.size();