Commit abe3483e authored by Nabil Chouika's avatar Nabil Chouika
Browse files

no need for push_back, it's a static array...

parent e64de12d
......@@ -16,10 +16,10 @@ std::vector<std::string> parseArguments(int argc, char** argv) {
"Missing argument, please provide one or more than one XML scenario file.");
std::vector<std::string> xmlScenarios;
std::vector<std::string> xmlScenarios(argc-1);
for (unsigned int i = 1; i != argc; i++) {
for (unsigned int i = 1; i < argc; i++) {
xmlScenarios[i-1] = argv[i];
return xmlScenarios;
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