Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove a now unused parameter
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 13 Jan 2017 11:57:15 +0000 (12:57 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 14 Jan 2017 00:54:17 +0000 (01:54 +0100)
src/plugins/vm/VirtualMachineImpl.cpp
src/s4u/s4u_host.cpp
src/surf/HostImpl.cpp
src/surf/HostImpl.hpp

index 0f5dcc5..2e9179a 100644 (file)
@@ -95,7 +95,7 @@ double VMModel::nextOccuringEvent(double now)
  ************/
 
 VirtualMachineImpl::VirtualMachineImpl(simgrid::s4u::VirtualMachine* piface, simgrid::s4u::Host* host_PM)
  ************/
 
 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);
 {
   /* Register this VM to the list of all VMs */
   allVms_.push_back(piface);
index bffb071..28ad598 100644 (file)
@@ -46,7 +46,7 @@ Host::Host(const char* name)
 {
   xbt_assert(Host::by_name_or_null(name) == nullptr, "Refusing to create a second host named '%s'.", name);
   host_list[name_] = this;
 {
   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()
 }
 
 Host::~Host()
index 59f55b0..cf09097 100644 (file)
@@ -91,7 +91,7 @@ Action* HostModel::executeParallelTask(int host_nb, simgrid::s4u::Host** host_li
 /************
  * Resource *
  ************/
 /************
  * Resource *
  ************/
-HostImpl::HostImpl(s4u::Host* host, xbt_dynar_t storage) : storage_(storage), piface_(host)
+HostImpl::HostImpl(s4u::Host* host) : piface_(host)
 {
   piface_->pimpl_ = this;
 }
 {
   piface_->pimpl_ = this;
 }
index 44858a6..13c19a9 100644 (file)
@@ -63,7 +63,7 @@ public:
 class HostImpl : public simgrid::surf::PropertyHolder {
 
 public:
 class HostImpl : public simgrid::surf::PropertyHolder {
 
 public:
-  HostImpl(s4u::Host* host, xbt_dynar_t storage);
+  HostImpl(s4u::Host* host);
   virtual ~HostImpl();
 
 public:
   virtual ~HostImpl();
 
 public: