X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c540b8009e2e13d461ecaa7cf17f68950b3539fb..7c047878cb2905079a6a0544f1a15134ae3ab3a6:/src/surf/network_constant.cpp diff --git a/src/surf/network_constant.cpp b/src/surf/network_constant.cpp index bbe31a5237..396b285120 100644 --- a/src/surf/network_constant.cpp +++ b/src/surf/network_constant.cpp @@ -13,11 +13,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_network); *********/ void surf_network_model_init_Constant() { - xbt_assert(surf_network_model == NULL); + xbt_assert(surf_network_model == nullptr); surf_network_model = new simgrid::surf::NetworkConstantModel(); xbt_dynar_push(all_existing_models, &surf_network_model); - routing_model_create(NULL); + routing_model_create(nullptr); } namespace simgrid { @@ -35,7 +35,7 @@ namespace simgrid { double NetworkConstantModel::next_occuring_event(double /*now*/) { - NetworkConstantAction *action = NULL; + NetworkConstantAction *action = nullptr; double min = -1.0; ActionList *actionSet = getRunningActionSet(); @@ -51,7 +51,7 @@ namespace simgrid { void NetworkConstantModel::updateActionsState(double /*now*/, double delta) { - NetworkConstantAction *action = NULL; + NetworkConstantAction *action = nullptr; ActionList *actionSet = getRunningActionSet(); for(ActionList::iterator it(actionSet->begin()), itNext=it, itend(actionSet->end()) ; it != itend ; it=itNext) {