use emplace_back instead of push_back

issue#70
Houtan Bastani 2019-03-11 15:51:41 +01:00
parent d9f7ac4c9b
commit 1e21904496
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 1 additions and 1 deletions

View File

@ -5596,7 +5596,7 @@ BinaryOpNode::getPacEC(BinaryOpNode *bopn, int lhs_symb_id, int lhs_orig_symb_id
}
if (id == lhs_symb_id || id == lhs_orig_symb_id)
istarget = false;
ordered_symb_ids.push_back({orig_id, istarget, scale});
ordered_symb_ids.emplace_back(orig_id, istarget, scale);
}
ec_params_and_vars = make_pair(optim_param_symb_id, ordered_symb_ids);
}