X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d1fc1c31cb2152b6d20742081118524dbb78d14..b8df87e176f27b25534f27d7e240defa32ca35bc:/src/plugins/vm/VmHostExt.cpp?ds=sidebyside diff --git a/src/plugins/vm/VmHostExt.cpp b/src/plugins/vm/VmHostExt.cpp index 14d524b9a8..33e4798770 100644 --- a/src/plugins/vm/VmHostExt.cpp +++ b/src/plugins/vm/VmHostExt.cpp @@ -1,12 +1,11 @@ -/* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ #include "src/plugins/vm/VmHostExt.hpp" -XBT_LOG_EXTERNAL_CATEGORY(surf_vm); -XBT_LOG_DEFAULT_CATEGORY(surf_vm); +XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_vm); namespace simgrid { namespace vm { @@ -14,7 +13,7 @@ simgrid::xbt::Extension VmHostExt::EXTENSION_ID; void VmHostExt::ensureVmExtInstalled() { - if (!EXTENSION_ID.valid()) + if (not EXTENSION_ID.valid()) EXTENSION_ID = simgrid::s4u::Host::extension_create(); } }