mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
addressed a number of code review comments
This commit is contained in:
parent
b3e3cb847b
commit
d4eb0224a1
9 changed files with 56 additions and 71 deletions
|
@ -1565,7 +1565,7 @@ ReturnStmt::ReturnStmt(ExprPtr arg_e)
|
|||
|
||||
else
|
||||
{
|
||||
auto promoted_e = check_and_promote_expr(e.get(), yt.get());
|
||||
auto promoted_e = check_and_promote_expr(e, yt);
|
||||
|
||||
if ( promoted_e )
|
||||
e = std::move(promoted_e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue