Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give a way to C users to not leak activities in activityset
[simgrid.git] / include / simgrid / s4u / Link.hpp
index 13a92bc7d5bc10fc7056c0af47fb8b887230f534..c79ca462ac6d1198962ba56957d05cc8bca15c37 100644 (file)
@@ -133,10 +133,7 @@ public:
   double get_load() const;
 
 #ifndef DOXYGEN
-  XBT_ATTRIB_DEPRECATED_v338("Please use get_load() instead") double get_usage() const
-  {
-    return get_load();
-  }
+  XBT_ATTRIB_DEPRECATED_v338("Please use get_load() instead") double get_usage() const { return get_load(); }
 #endif
 
   /** @brief Check if the Link is used (at least one flow uses the link) */