]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/surf/lmm_usage/lmm_usage.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug leak and use string
[simgrid.git] / teshsuite / surf / lmm_usage / lmm_usage.cpp
index 62b886bab75d2e94722f558a8d943ad5068caa5f..a1257d3cf5b4abe647eec0e3f5ab9b35e86f580d 100644 (file)
@@ -1,11 +1,11 @@
 /* A few tests for the maxmin library                                       */
 
-/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2020. 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/msg.h"
+#include "simgrid/s4u/Engine.hpp"
 #include "src/kernel/lmm/maxmin.hpp"
 #include "src/surf/surf_interface.hpp"
 #include "xbt/log.h"
@@ -167,7 +167,7 @@ static void test3()
 
 int main(int argc, char** argv)
 {
-  MSG_init(&argc, argv);
+  simgrid::s4u::Engine e(&argc, argv);
   XBT_INFO("***** Test 1");
   test1();