************/
VirtualMachineImpl::VirtualMachineImpl(simgrid::s4u::VirtualMachine* piface, simgrid::s4u::Host* host_PM)
- : HostImpl(piface, nullptr /*storage*/), hostPM_(host_PM)
+ : HostImpl(piface), hostPM_(host_PM)
{
/* Register this VM to the list of all VMs */
allVms_.push_back(piface);
{
xbt_assert(Host::by_name_or_null(name) == nullptr, "Refusing to create a second host named '%s'.", name);
host_list[name_] = this;
- new simgrid::surf::HostImpl(this, nullptr);
+ new simgrid::surf::HostImpl(this);
}
Host::~Host()
/************
* Resource *
************/
-HostImpl::HostImpl(s4u::Host* host, xbt_dynar_t storage) : storage_(storage), piface_(host)
+HostImpl::HostImpl(s4u::Host* host) : piface_(host)
{
piface_->pimpl_ = this;
}
class HostImpl : public simgrid::surf::PropertyHolder {
public:
- HostImpl(s4u::Host* host, xbt_dynar_t storage);
+ HostImpl(s4u::Host* host);
virtual ~HostImpl();
public: