mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Mark List::append/insert deprecated in favor of push_back/push_front for consistency with Queue
This commit is contained in:
parent
d2d5043bf0
commit
6144f459e1
39 changed files with 221 additions and 211 deletions
|
@ -76,9 +76,9 @@ void Rule::AddPattern(const char* str, Rule::PatternType type,
|
|||
p->id = ++pattern_counter;
|
||||
p->offset = offset;
|
||||
p->depth = depth;
|
||||
patterns.append(p);
|
||||
patterns.push_back(p);
|
||||
|
||||
rule_table.append(this);
|
||||
rule_table.push_back(this);
|
||||
}
|
||||
|
||||
void Rule::AddRequires(const char* id, bool opposite_direction, bool negate)
|
||||
|
@ -89,7 +89,7 @@ void Rule::AddRequires(const char* id, bool opposite_direction, bool negate)
|
|||
p->opposite_dir = opposite_direction;
|
||||
p->negate = negate;
|
||||
|
||||
preconds.append(p);
|
||||
preconds.push_back(p);
|
||||
}
|
||||
|
||||
void Rule::SortHdrTests()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue