use emplace_back instead of push_back

parent d9f7ac4c
Pipeline #972 passed with stage
in 1 minute and 42 seconds
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment