mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
some code simplifications and streamlining
This commit is contained in:
parent
18c77ddc2c
commit
79c53c9ed6
11 changed files with 23 additions and 27 deletions
|
@ -165,7 +165,7 @@ public:
|
|||
// into a StmtPtr.
|
||||
virtual StmtPtr SetSucc(Stmt* succ)
|
||||
{
|
||||
succ->SetOriginal({NewRef{}, this});
|
||||
succ->SetOriginal(ThisPtr());
|
||||
return {AdoptRef{}, succ};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue