mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Fix WhileStmt to call Stmt(Tag) ctor
Also removed Stmt() default ctor to help ensure derived classes initialize the Stmt tag (and other members).
This commit is contained in:
parent
e891c310fb
commit
76a38caf34
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,6 @@ public:
|
|||
virtual TraversalCode Traverse(TraversalCallback* cb) const = 0;
|
||||
|
||||
protected:
|
||||
Stmt() {}
|
||||
explicit Stmt(BroStmtTag arg_tag);
|
||||
|
||||
void AddTag(ODesc* d) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue