X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab92608267358b56adf7a803480fa2ad9608ed1b..f9436b840852218b39dce22d6057b6f223168daa:/src/surf/network_interface.cpp diff --git a/src/surf/network_interface.cpp b/src/surf/network_interface.cpp index 8b4f978be4..f14530a7ec 100644 --- a/src/surf/network_interface.cpp +++ b/src/surf/network_interface.cpp @@ -104,7 +104,7 @@ namespace simgrid { { if (strcmp(name,"__loopback__")) - xbt_assert(!LinkImpl::byName(name), "Link '%s' declared several times in the platform.", name); + xbt_assert(not LinkImpl::byName(name), "Link '%s' declared several times in the platform.", name); latency_.scale = 1; bandwidth_.scale = 1; @@ -125,7 +125,7 @@ namespace simgrid { */ void LinkImpl::destroy() { - if (!currentlyDestroying_) { + if (not currentlyDestroying_) { currentlyDestroying_ = true; s4u::Link::onDestruction(this->piface_); delete this;