Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
always use the right type for link sharing policy
[simgrid.git] / src / surf / network_interface.cpp
index 4d6e228..a0275c7 100644 (file)
@@ -161,7 +161,7 @@ double NetworkModel::latencyFactor(double /*size*/)
       return bandwidth_.peak * bandwidth_.scale;
     }
 
-    int LinkImpl::sharingPolicy()
+    s4u::Link::SharingPolicy LinkImpl::sharingPolicy()
     {
       return get_constraint()->get_sharing_policy();
     }