X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/666a812d1b3ee4568f2beb317dfcd08d99055697..ee96082a335b65893460678f9f8c625ea3c463e5:/src/kernel/EngineImpl.hpp diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index 43f8b676dd..0778432f71 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-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. */ @@ -13,16 +13,20 @@ namespace simgrid { namespace kernel { class EngineImpl { + std::map hosts_; + std::map links_; + std::map storages_; + std::unordered_map netpoints_; + friend s4u::Engine; + public: - EngineImpl(); + EngineImpl() = default; + ; + EngineImpl(const EngineImpl&) = delete; + EngineImpl& operator=(const EngineImpl&) = delete; virtual ~EngineImpl(); - kernel::routing::NetZoneImpl* netzone_root_ = nullptr; - -private: - std::map hosts_; - std::map storages_; - std::unordered_map netpoints_; - friend simgrid::s4u::Engine; + routing::NetZoneImpl* netzone_root_ = nullptr; }; -} -} + +} // namespace kernel +} // namespace simgrid