Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:Adrien.Gougeon/simgrid
[simgrid.git] / src / surf / HostImpl.hpp
index 6e3404f1979a249c2a94787b88275474d42166ae..1106b4c999f20eb5fd92a80e8a8f6947a14e0c3a 100644 (file)
@@ -40,7 +40,7 @@ public:
  ************/
 /** @ingroup SURF_host_interface
  * @brief SURF Host interface class
- * @details An host represents a machine with a aggregation of a Cpu, a RoutingEdge and a Storage
+ * @details A host represents a machine with an aggregation of a Cpu, a RoutingEdge and a Storage
  */
 class XBT_PRIVATE HostImpl : public xbt::PropertyHolder {
   std::vector<kernel::actor::ProcessArg*> actors_at_boot_;
@@ -63,7 +63,7 @@ public:
   std::unordered_map<std::string, s4u::Storage*>* get_mounted_storages();
   void set_storages(const std::map<std::string, kernel::resource::StorageImpl*>& storages) { storage_ = storages; }
 
-  s4u::Host* get_iface() { return piface_; }
+  s4u::Host* get_iface() const { return piface_; }
 
   void turn_on() const;
   void turn_off(const kernel::actor::ActorImpl* issuer);