Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / src / smpi / plugins / ampi / ampi.hpp
index 0685cee..2f209af 100644 (file)
@@ -1,18 +1,22 @@
-/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-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. */
 
+#ifndef INSTR_AMPI_HPP_
+#define INSTR_AMPI_HPP_
+
 #include <simgrid/s4u.hpp>
 
 namespace simgrid {
 namespace smpi {
 namespace plugin {
 namespace ampi {
-  extern simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_out;
-  extern simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> on_iteration_in;
+extern simgrid::xbt::signal<void(simgrid::s4u::Actor const&)> on_iteration_out;
+extern simgrid::xbt::signal<void(simgrid::s4u::Actor const&)> on_iteration_in;
 }
 }
 }
 }
 
+#endif