X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..f968cbbb699423fa252994ff42de77f8671ac7eb:/src/plugins/vm/VmHostExt.cpp diff --git a/src/plugins/vm/VmHostExt.cpp b/src/plugins/vm/VmHostExt.cpp index 17d3e9ca4e..f85143a986 100644 --- a/src/plugins/vm/VmHostExt.cpp +++ b/src/plugins/vm/VmHostExt.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2018. 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. */ @@ -12,12 +12,9 @@ namespace simgrid { namespace vm { simgrid::xbt::Extension VmHostExt::EXTENSION_ID; -VmHostExt::~VmHostExt() -{ -} void VmHostExt::ensureVmExtInstalled() { - if (!EXTENSION_ID.valid()) + if (not EXTENSION_ID.valid()) EXTENSION_ID = simgrid::s4u::Host::extension_create(); } }