mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
making Exec methods non-const, so execution can manage side-information
This commit is contained in:
parent
c6830193f3
commit
01bf4b8484
4 changed files with 45 additions and 47 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
|
||||
~Stmt() override;
|
||||
|
||||
virtual ValPtr Exec(Frame* f, StmtFlowType& flow) const = 0;
|
||||
virtual ValPtr Exec(Frame* f, StmtFlowType& flow) = 0;
|
||||
|
||||
Stmt* Ref() { zeek::Ref(this); return this; }
|
||||
StmtPtr ThisPtr() { return {NewRef{}, this}; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue