Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Constify get_properties() and and remove simcalls.
[simgrid.git] / include / simgrid / kernel / routing / NetZoneImpl.hpp
index eaad97d..ef9b53c 100644 (file)
@@ -61,7 +61,7 @@ public:
 
   /** @brief Make a host within that NetZone */
   simgrid::s4u::Host* create_host(const char* name, const std::vector<double>& speed_per_pstate, int core_count,
-                                  std::map<std::string, std::string>* props);
+                                  const std::map<std::string, std::string>* props);
   /** @brief Creates a new route in this NetZone */
   virtual void add_bypass_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst,
                                 std::vector<resource::LinkImpl*>& link_list, bool symmetrical);