Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unsigned cannot become negative.
[simgrid.git] / src / kernel / activity / CommImpl.cpp
index f55d4d4..f16fe42 100644 (file)
@@ -9,7 +9,6 @@
 #include "simgrid/s4u/Host.hpp"
 #include "src/kernel/activity/MailboxImpl.hpp"
 #include "src/mc/mc_replay.hpp"
-#include "src/simix/smx_network_private.hpp"
 #include "src/surf/network_interface.hpp"
 #include "src/surf/surf_interface.hpp"
 
@@ -38,7 +37,7 @@ namespace simgrid {
 namespace kernel {
 namespace activity {
 
-CommImpl::CommImpl(e_smx_comm_type_t _type) : type(_type)
+CommImpl::CommImpl(CommImpl::Type type) : type(type)
 {
   state_   = SIMIX_WAITING;
   src_data_ = nullptr;