Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compil without tracing, which was broken multiple times ...
[simgrid.git] / src / surf / network_interface.hpp
index 67d9cd9..46cd1a4 100644 (file)
@@ -3,7 +3,7 @@
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
-
+#include "xbt/fifo.h"
 #include "surf_interface.hpp"
 #include "surf_routing.hpp"
 
@@ -96,7 +96,7 @@ public:
        if (p_maxminSystem)
          lmm_system_free(p_maxminSystem);
        if (p_actionHeap)
-         delete p_actionHeap;
+         xbt_heap_free(p_actionHeap);
        if (p_modifiedSet)
          delete p_modifiedSet;
   }