From: Martin Quinson Date: Wed, 11 Jul 2018 14:59:52 +0000 (+0200) Subject: remove that useless std::string() X-Git-Tag: v3_21~483^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2198c7606069815736661349b157268dc9dd21ae?ds=sidebyside remove that useless std::string() --- diff --git a/teshsuite/simix/stack-overflow/stack-overflow.cpp b/teshsuite/simix/stack-overflow/stack-overflow.cpp index 61d33e9105..94841add63 100644 --- a/teshsuite/simix/stack-overflow/stack-overflow.cpp +++ b/teshsuite/simix/stack-overflow/stack-overflow.cpp @@ -1,7 +1,6 @@ -/* stack_overflow -- simple program generating a stack overflow */ +/* stack_overflow -- simple program generating a stack overflow */ -/* Copyright (c) 2014-2018. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2014-2018. 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. */ @@ -48,7 +47,7 @@ int main(int argc, char* argv[]) SIMIX_function_register("master", master); SIMIX_create_environment(argv[1]); - simcall_process_create(std::string("master"), master, NULL, sg_host_by_name("Tremblay"), 0, NULL, NULL); + simcall_process_create("master", master, NULL, sg_host_by_name("Tremblay"), 0, NULL, NULL); SIMIX_run(); return 0;