A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deprecate Engine::shutdown()
[simgrid.git]
/
src
/
s4u
/
s4u_Engine.cpp
diff --git
a/src/s4u/s4u_Engine.cpp
b/src/s4u/s4u_Engine.cpp
index
afe739e
..
5fc537a
100644
(file)
--- a/
src/s4u/s4u_Engine.cpp
+++ b/
src/s4u/s4u_Engine.cpp
@@
-64,7
+64,9
@@
Engine::~Engine()
/** @brief Retrieve the engine singleton */
Engine* Engine::get_instance()
{
/** @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)
{
}
Engine* Engine::get_instance(int* argc, char** argv)
{
@@
-75,7
+77,7
@@
Engine* Engine::get_instance(int* argc, char** argv)
return Engine::instance_;
}
return Engine::instance_;
}
-void Engine::shutdown()
+void Engine::shutdown()
// XBT_ATTRIB_DEPRECATED_v335
{
delete Engine::instance_;
}
{
delete Engine::instance_;
}