Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
actually we need GCC > v4.8.5 for LTO
[simgrid.git] / src / simix / SynchroComm.hpp
index eca91c9..fe672fc 100644 (file)
@@ -22,7 +22,7 @@ namespace simix {
   XBT_PUBLIC_CLASS Comm : public Synchro {
     ~Comm() override;
   public:
-    Comm(e_smx_comm_type_t type);
+    explicit Comm(e_smx_comm_type_t type);
     void suspend() override;
     void resume() override;
     void post() override;