X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f3eef41bb31d243caddaa36f1612cb0d0febfd8..d236809e6149a03ef3e53599458f51c98f79f94d:/src/s4u/s4u_Engine.cpp diff --git a/src/s4u/s4u_Engine.cpp b/src/s4u/s4u_Engine.cpp index 68e14760a5..e6aa819a2e 100644 --- a/src/s4u/s4u_Engine.cpp +++ b/src/s4u/s4u_Engine.cpp @@ -1,6 +1,6 @@ /* s4u::Engine Simulation Engine and global functions. */ -/* Copyright (c) 2006-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2006-2022. 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. */ @@ -64,7 +64,9 @@ Engine::~Engine() /** @brief Retrieve the engine singleton */ Engine* Engine::get_instance() { - return get_instance(nullptr, nullptr); + int argc = 0; + char* argv = nullptr; + return get_instance(&argc, &argv); } Engine* Engine::get_instance(int* argc, char** argv) {