Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a FIXME
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 30 Jan 2020 10:29:57 +0000 (11:29 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 30 Jan 2020 10:29:57 +0000 (11:29 +0100)
src/surf/HostImpl.hpp

index bb01090..c566740 100644 (file)
@@ -44,7 +44,7 @@ public:
  */
 class XBT_PRIVATE HostImpl : public xbt::PropertyHolder {
   std::vector<kernel::actor::ProcessArg*> actors_at_boot_;
-  s4u::Host* piface_ = nullptr; // FIXME: why don't we store a s4u::Host here as we do everywhere else?
+  s4u::Host* piface_ = nullptr; // we must have a pointer there because the VM wants to change the piface in its ctor
   std::map<std::string, kernel::resource::StorageImpl*> storage_;
   std::vector<kernel::resource::DiskImpl*> disks_;