Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sanitize the OOP of kernel::profile
[simgrid.git] / src / bindings / java / JavaContext.hpp
index 5458cc1..f1e0570 100644 (file)
@@ -1,6 +1,6 @@
 /* Context switching within the JVM.                                        */
 
-/* Copyright (c) 2009-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2009-2019. 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. */
@@ -14,7 +14,6 @@
 #include "simgrid/simix.h"
 #include "src/kernel/context/ContextThread.hpp"
 #include "src/simix/smx_private.hpp"
-#include "xbt/xbt_os_thread.h"
 
 #include "jmsg.hpp"
 
@@ -38,7 +37,7 @@ public:
           smx_actor_t process);
 
   void start_hook() override;
-  void stop() override;
+  void stop_hook() override;
 };
 
 class JavaContextFactory : public simgrid::kernel::context::ContextFactory {