Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate legacy xbt_ex; kill xbt_errcat_t.
[simgrid.git] / src / s4u / s4u_Engine.cpp
index 70e3043..0c124e0 100644 (file)
@@ -89,7 +89,7 @@ void Engine::load_platform(const std::string& platf)
   double start = xbt_os_time();
   try {
     parse_platform_file(platf);
-  } catch (xbt_ex& e) {
+  } catch (const Exception& e) {
     xbt_die("Error while loading %s: %s", platf.c_str(), e.what());
   }