Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ensure that the create_resource functions do call strdup by themselves
[simgrid.git] / src / include / surf / surf_resource_lmm.h
index 237c7b1..e1c3a0b 100644 (file)
@@ -14,7 +14,7 @@ static XBT_INLINE
     surf_resource_lmm_t surf_resource_lmm_new(size_t childsize,
                                               /* for superclass */
                                               surf_model_t model,
-                                              char *name, xbt_dict_t props,
+                                              const char *name, xbt_dict_t props,
                                               lmm_system_t system,
                                               double constraint_value,
                                               tmgr_history_t history,