]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/sosp/RemoteProcessMemory.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Misc Sonar issues.
[simgrid.git] / src / mc / sosp / RemoteProcessMemory.cpp
index 0a06fb456f045ad0be48f365ca8d6e57e65c681d..18093b32a3b76dd59126bb20227660555402ca01 100644 (file)
@@ -106,9 +106,7 @@ int open_vm(pid_t pid, int flags)
 
 // ***** RemoteProcessMemory
 
-RemoteProcessMemory::RemoteProcessMemory(pid_t pid) : AddressSpace(this), pid_(pid) {}
-
-void RemoteProcessMemory::init(xbt_mheap_t mmalloc_default_mdp)
+RemoteProcessMemory::RemoteProcessMemory(pid_t pid, xbt_mheap_t mmalloc_default_mdp) : AddressSpace(this), pid_(pid)
 {
   this->heap_address = remote(mmalloc_default_mdp);