From f74b933897949b8757d35a3bc21bfcf5f9c266d0 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Tue, 13 Mar 2018 11:19:04 +0100 Subject: [PATCH] public->protected --- include/simgrid/s4u/Engine.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/simgrid/s4u/Engine.hpp b/include/simgrid/s4u/Engine.hpp index c4e7d2b0e9..ba591487ca 100644 --- a/include/simgrid/s4u/Engine.hpp +++ b/include/simgrid/s4u/Engine.hpp @@ -59,10 +59,10 @@ protected: friend s4u::Storage; void addHost(std::string name, simgrid::s4u::Host * host); void delHost(std::string name); - -public: void addStorage(std::string name, simgrid::s4u::Storage * storage); void delStorage(std::string name); + +public: simgrid::s4u::Host* hostByName(std::string name); simgrid::s4u::Host* hostByNameOrNull(std::string name); simgrid::s4u::Storage* storageByName(std::string name); -- 2.20.1