Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the property holder does not take a dict in its constructor
[simgrid.git] / src / surf / network_constant.cpp
index 2da4340..f349fbd 100644 (file)
@@ -22,15 +22,13 @@ void surf_network_model_init_Constant()
 
 namespace simgrid {
   namespace surf {
+  Link* NetworkConstantModel::createLink(const char* name, double bw, double lat, e_surf_link_sharing_policy_t policy)
+  {
 
-    NetworkConstantModel::~NetworkConstantModel() {}
-
-    Link* NetworkConstantModel::createLink(const char *name, double bw, double lat, e_surf_link_sharing_policy_t policy,
-        xbt_dict_t properties) {
-
-      xbt_die("Refusing to create the link %s: there is no link in the Constant network model. "
-          "Please remove any link from your platform (and switch to routing='None')", name);
-      return nullptr;
+    xbt_die("Refusing to create the link %s: there is no link in the Constant network model. "
+            "Please remove any link from your platform (and switch to routing='None')",
+            name);
+    return nullptr;
     }
 
     double NetworkConstantModel::nextOccuringEvent(double /*now*/)