X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c7aa6599c849a0216316ee7141a3efda3be09879..edca9509f1ec94a851e0265c1876a4733f4fff87:/src/simix/smx_environment.cpp diff --git a/src/simix/smx_environment.cpp b/src/simix/smx_environment.cpp index 0eb0f4f09b..94b2e6ef0c 100644 --- a/src/simix/smx_environment.cpp +++ b/src/simix/smx_environment.cpp @@ -6,6 +6,8 @@ #include "smx_private.hpp" #include "src/include/surf/surf.hpp" #include "xbt/xbt_os_time.h" + +#include #include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_environment, simix, "Logging specific to SIMIX (environment)"); @@ -44,9 +46,9 @@ void SIMIX_create_environment(std::string file) XBT_DEBUG("PARSE TIME: %g", (end - start)); } -void SIMIX_create_environment(const char* file) +void SIMIX_create_environment(const char* file) // deprecated { - SIMIX_create_environment(std::string(file)); + simgrid_load_platform(file); } void SIMIX_post_create_environment()