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

@ -163,12 +163,12 @@ bool RuleConditionEval::DoMatch(Rule* rule, RuleEndpointState* state,
// Call function with a signature_state value as argument.
val_list args(2);
args.append(rule_matcher->BuildRuleStateValue(rule, state));
args.push_back(rule_matcher->BuildRuleStateValue(rule, state));
if ( data )
args.append(new StringVal(len, (const char*) data));
args.push_back(new StringVal(len, (const char*) data));
else
args.append(val_mgr->GetEmptyString());
args.push_back(val_mgr->GetEmptyString());
bool result = 0;