]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/CommImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'local changes'
[simgrid.git] / src / kernel / activity / CommImpl.hpp
index e9485d664a25bf41681726d9aa9e3a6518fe83b2..39668cbcccdaf683e62249177d82518c0c117203 100644 (file)
@@ -28,7 +28,7 @@ class XBT_PUBLIC CommImpl : public ActivityImpl_T<CommImpl> {
 public:
   enum class Type { SEND, RECEIVE };
 
-  CommImpl(Type type) : type_(type) {}
+  explicit CommImpl(Type type) : type_(type) {}
   CommImpl(s4u::Host* from, s4u::Host* to, double bytes);
 
   CommImpl& set_size(double size);