Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small cleanups in mc::Snapshot
[simgrid.git] / src / mc / remote / RemoteProcess.cpp
index 324e5ed..75a610d 100644 (file)
@@ -145,8 +145,6 @@ RemoteProcess::~RemoteProcess()
 void RemoteProcess::refresh_heap()
 {
   // Read/dereference/refresh the std_heap pointer:
-  if (not this->heap)
-    this->heap = std::make_unique<s_xbt_mheap_t>();
   this->read(this->heap.get(), this->heap_address);
   this->cache_flags_ |= RemoteProcess::cache_heap;
 }