Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Const/override for member functions.
[simgrid.git] / src / smpi / include / smpi_actor.hpp
index 1b43f2c..dd1519d 100644 (file)
@@ -75,7 +75,7 @@ public:
   void simulated_start();
   double simulated_elapsed() const;
   MPI_Comm comm_world() const;
-  bool comm_self_is_set() {return (comm_self_ != MPI_COMM_NULL);};
+  bool comm_self_is_set() const { return (comm_self_ != MPI_COMM_NULL); };
   MPI_Comm comm_self();
   MPI_Comm comm_intra();
   void set_comm_intra(MPI_Comm comm);