diff --git a/src/ComputingTasks.cc b/src/ComputingTasks.cc index cbe7528a41d0baf5741d61ba7d4145451383175a..400eda98b4d87e3fd08f89810a4cdcb120cbc823 100644 --- a/src/ComputingTasks.cc +++ b/src/ComputingTasks.cc @@ -302,7 +302,7 @@ PacModelStatement::overwriteGrowth(expr_t new_growth) { auto gv = dynamic_cast<const VariableNode *>(growth); if (gv) - growth_info.push_back({gv->symb_id, gv->lag, -1, 1}); + growth_info.emplace_back(gv->symb_id, gv->lag, -1, 1); else { cerr << "Pac growth must be a linear combination of varibles" << endl;