Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid deprecated type alias.
[simgrid.git] / src / include / xbt / parmap.hpp
index 839d029..ec4fdc8 100644 (file)
@@ -294,7 +294,7 @@ template <typename T> void Parmap<T>::worker_main(ThreadData* data)
 {
   Parmap<T>& parmap     = data->parmap;
   unsigned round        = 0;
-  smx_context_t context = simix_global->context_factory->create_context(std::function<void()>(), nullptr);
+  kernel::context::Context* context = simix_global->context_factory->create_context(std::function<void()>(), nullptr);
   kernel::context::Context::set_current(context);
 
   XBT_CDEBUG(xbt_parmap, "New worker thread created");