Commit 402cb0b1 authored by frey_m's avatar frey_m
Browse files

no replace with 'insert'

parent ddcfd3a1
......@@ -127,7 +127,7 @@ OpalSimulation::OpalSimulation(Expressions::Named_t objectives,
"The template file '" + tmplFile + "' doesn't exit");
for (const auto& uvar : userVariables_) {
uvars.insert(std::pair<std::string, std::string>(uvar.first, uvar.second));
uvars[uvar.first] = uvar.second;
}
gs_.reset(new GenerateOpalSimulation(tmplFile, dataFile, uvars));
......
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