X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c2f90c59139fcf57902f6dd0a5b72fb0eec06103..1cce0801abcad7c884f9e72ceda87e36d6635104:/src/simix/smx_deployment.cpp diff --git a/src/simix/smx_deployment.cpp b/src/simix/smx_deployment.cpp index a740981cf3..db1becc063 100644 --- a/src/simix/smx_deployment.cpp +++ b/src/simix/smx_deployment.cpp @@ -1,9 +1,12 @@ -/* Copyright (c) 2007, 2009-2015. The SimGrid Team. +/* Copyright (c) 2007, 2009-2016. 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. */ +#include +#include + #include "smx_private.h" #include "xbt/sysdep.h" #include "xbt/log.h" @@ -59,7 +62,7 @@ void SIMIX_launch_application(const char *file) // Wrap a main() function into a ActorCodeFactory: static simgrid::simix::ActorCodeFactory toActorCodeFactory(xbt_main_func_t code) { - return [code](simgrid::xbt::args args) { + return [code](std::vector args) { return simgrid::xbt::wrapMain(code, std::move(args)); }; }