Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework way of creating Type hierarchy.
[simgrid.git] / src / msg / msg_private.hpp
index c1affe1..094dd62 100644 (file)
@@ -28,7 +28,12 @@ public:
 /********************************* Task **************************************/
 
 struct s_simdata_task_t {
-  ~s_simdata_task_t() { delete[] this->host_list; /* parallel tasks only */ }
+  ~s_simdata_task_t()
+  {
+    /* parallel tasks only */
+    delete[] this->host_list;
+    /* flops_parallel_amount and bytes_parallel_amount are automatically deleted in ~L07Action */
+  }
   void setUsed();
   void setNotUsed() { this->isused = false; }