X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/82f71f716643bf7c4ba1c63793439b753fcfa954..a5c5765ba9e8336b55101d248a8f43fbf9cd0c0c:/src/surf/AsClusterTorus.cpp diff --git a/src/surf/AsClusterTorus.cpp b/src/surf/AsClusterTorus.cpp index d53146eae3..946b349c6f 100644 --- a/src/surf/AsClusterTorus.cpp +++ b/src/surf/AsClusterTorus.cpp @@ -91,7 +91,7 @@ namespace simgrid { xbt_dynar_t dimensions = xbt_str_split(cluster->topo_parameters, ","); if (!xbt_dynar_is_empty(dimensions)) { - dimensions_ = xbt_dynar_new(sizeof(int), NULL); + dimensions_ = xbt_dynar_new(sizeof(int), nullptr); /* We are in a torus cluster * Parse attribute dimensions="dim1,dim2,dim3,...,dimN" * and safe it in a dynarray.