Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix MC tests.
[simgrid.git] / src / surf / HostImpl.hpp
index 2429c3d..1b08609 100644 (file)
@@ -50,7 +50,6 @@ class XBT_PRIVATE HostImpl : public xbt::PropertyHolder {
   std::vector<kernel::actor::ProcessArg*> actors_at_boot_;
   s4u::Host piface_;
   std::vector<kernel::resource::DiskImpl*> disks_;
-  xbt::string name_{"noname"};
 
 protected:
   virtual ~HostImpl(); // Use destroy() instead of this destructor.
@@ -70,11 +69,6 @@ public:
   virtual const s4u::Host* get_iface() const { return &piface_; }
   virtual s4u::Host* get_iface() { return &piface_; }
 
-  /** Retrieves the name of that host as a C++ string */
-  xbt::string const& get_name() const { return name_; }
-  /** Retrieves the name of that host as a C string */
-  const char* get_cname() const { return name_.c_str(); }
-
   void turn_on() const;
   void turn_off(const kernel::actor::ActorImpl* issuer);
   std::vector<s4u::ActorPtr> get_all_actors();