X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eff932c1509031e225b81cf6a8902c7d0050e9e7..84ca10aa757a833c99ebd7a845a78ba09569ff13:/src/kernel/EngineImpl.hpp?ds=sidebyside diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index d730edebbd..33fad7cce2 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-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. */ @@ -18,9 +18,9 @@ namespace simgrid { namespace kernel { class EngineImpl { - std::map hosts_; - std::map links_; - std::map storages_; + std::map> hosts_; + std::map> links_; + std::map> storages_; std::unordered_map netpoints_; std::unordered_map registered_functions; // Maps function names to actor code actor::ActorCodeFactory default_function; // Function to use as a fallback when the provided name matches nothing @@ -34,7 +34,7 @@ public: EngineImpl& operator=(const EngineImpl&) = delete; virtual ~EngineImpl(); - void load_deployment(const std::string& file); + void load_deployment(const std::string& file) const; void register_function(const std::string& name, const actor::ActorCodeFactory& code); void register_default(const actor::ActorCodeFactory& code); @@ -53,4 +53,4 @@ public: } // namespace kernel } // namespace simgrid -#endif \ No newline at end of file +#endif