Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
always use the right type for link sharing policy
[simgrid.git] / include / simgrid / s4u / Link.hpp
index a51dba5..9857e6c 100644 (file)
@@ -52,7 +52,7 @@ public:
 
   /** @brief The sharing policy is a @{link e_surf_link_sharing_policy_t::EType} (0: FATPIPE, 1: SHARED, 2: SPLITDUPLEX)
    */
-  int sharingPolicy();
+  SharingPolicy sharingPolicy();
 
   /** @brief Returns the current load (in flops per second) */
   double getUsage();