Mark List::append/insert deprecated in favor of push_back/push_front for consistency with Queue

This commit is contained in:
Tim Wojtulewicz 2019-07-19 14:53:01 -07:00 committed by Jon Siwek
parent d2d5043bf0
commit 6144f459e1
39 changed files with 221 additions and 211 deletions

View file

@ -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()