X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08e7455d67920bbd7a87f440d00f2c1e071314a0..039807fd1fb02afb72365fe19a6ad620d1bbf4c7:/teshsuite/kernel/context-defaults/context-defaults.cpp diff --git a/teshsuite/kernel/context-defaults/context-defaults.cpp b/teshsuite/kernel/context-defaults/context-defaults.cpp index f436b1f1d6..4667ee7eab 100644 --- a/teshsuite/kernel/context-defaults/context-defaults.cpp +++ b/teshsuite/kernel/context-defaults/context-defaults.cpp @@ -1,18 +1,18 @@ /* check_defaults -- simple program displaying its context factory */ -/* Copyright (c) 2013-2021. The SimGrid Team. +/* Copyright (c) 2013-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 "simgrid/simix.h" +#include "simgrid/s4u/Engine.hpp" #include "xbt/log.h" int main(int argc, char* argv[]) { xbt_log_control_set("root.fmt:[%c/%p]%e%m%n"); - xbt_log_control_set("simix_context.threshold:verbose"); - SIMIX_global_init(&argc, argv); + xbt_log_control_set("ker_context.threshold:verbose"); + XBT_ATTRIB_UNUSED simgrid::s4u::Engine e(&argc, argv); return 0; }