X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3a1ea70a418f393ca1677074e928c664022295bd..6c1fdfa949304917158331410c2e91b0ca1b2e90:/src/plugins/vm/VirtualMachineImpl.hpp diff --git a/src/plugins/vm/VirtualMachineImpl.hpp b/src/plugins/vm/VirtualMachineImpl.hpp index b2597a5033..b1eda38b57 100644 --- a/src/plugins/vm/VirtualMachineImpl.hpp +++ b/src/plugins/vm/VirtualMachineImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2021. 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. */ @@ -90,7 +90,7 @@ private: */ class XBT_PRIVATE VMModel : public surf::HostModel { public: - VMModel(); + explicit VMModel(std::string name); double next_occurring_event(double now) override; void update_actions_state(double /*now*/, double /*delta*/) override{}; @@ -103,6 +103,4 @@ public: } } -XBT_PUBLIC_DATA simgrid::vm::VMModel* surf_vm_model; - #endif /* VM_INTERFACE_HPP_ */