-/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2020. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
int main(int argc, char **argv)
{
- std::vector<std::string> args = std::vector<std::string>({"one", "two", "three", ""});
+ std::vector<std::string> args({"one", "two", "three", ""});
simgrid::s4u::Engine e(&argc, argv);
e.load_platform("../../platforms/two_hosts.xml");
simgrid::s4u::Actor::create("producer", simgrid::s4u::Host::by_name("Tremblay"), producer, &args);