Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill src/include
[simgrid.git] / teshsuite / xbt / parmap_test / parmap_test.cpp
index 706284e..0e63aaa 100644 (file)
@@ -1,14 +1,14 @@
 /* parmap_test -- test parmap                                               */
 
-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2023. 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. */
 
 #include "src/internal_config.h" // HAVE_FUTEX_H
+#include "src/xbt/parmap.hpp"
 #include <simgrid/s4u/Engine.hpp>
 #include <xbt/log.h>
-#include <xbt/parmap.hpp>
 
 #include <algorithm>
 #include <chrono>
@@ -88,7 +88,7 @@ int main(int argc, char** argv)
   int status = 0;
   xbt_log_control_set("parmap_test.fmt:[%c/%p]%e%m%n");
   simgrid::s4u::Engine e(&argc, argv);
-  simgrid::kernel::context::set_nthreads(16); // dummy value > 1
+  simgrid::kernel::context::Context::set_nthreads(16); // dummy value > 1
 
   XBT_INFO("Basic testing posix");
   status += test_parmap_basic(XBT_PARMAP_POSIX);