Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The sed version used on macos doesn't like the I flag..
[simgrid.git] / src / surf / network_constant.cpp
index 4daf864..4581f26 100644 (file)
@@ -22,9 +22,6 @@ void surf_network_model_init_Constant()
 
 namespace simgrid {
   namespace surf {
-
-    NetworkConstantModel::~NetworkConstantModel() {}
-
     Link* NetworkConstantModel::createLink(const char *name, double bw, double lat, e_surf_link_sharing_policy_t policy,
         xbt_dict_t properties) {
 
@@ -33,7 +30,7 @@ namespace simgrid {
       return nullptr;
     }
 
-    double NetworkConstantModel::next_occuring_event(double /*now*/)
+    double NetworkConstantModel::nextOccuringEvent(double /*now*/)
     {
       double min = -1.0;
 
@@ -77,7 +74,7 @@ namespace simgrid {
       }
     }
 
-    Action *NetworkConstantModel::communicate(kernel::routing::NetCard *src, kernel::routing::NetCard *dst, double size, double rate)
+    Action* NetworkConstantModel::communicate(s4u::Host* src, s4u::Host* dst, double size, double rate)
     {
       NetworkConstantAction *action = new NetworkConstantAction(this, size, sg_latency_factor);