X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54e818e2dea66d457ec7061f3f2bec19be321f39..4e62e76d104a17f0c9aaf9135ac605e9c8c87141:/src/mc/sosp/Snapshot.cpp diff --git a/src/mc/sosp/Snapshot.cpp b/src/mc/sosp/Snapshot.cpp index bc32ba67a4..2f50339173 100644 --- a/src/mc/sosp/Snapshot.cpp +++ b/src/mc/sosp/Snapshot.cpp @@ -249,7 +249,7 @@ void* Snapshot::read_bytes(void* buffer, std::size_t size, RemotePtr addre } else return this->process()->read_bytes(buffer, size, address, options); } -/** @brief Find the snapshoted region from a pointer +/** @brief Find the snapshotted region from a pointer * * @param addr Pointer * */ @@ -267,7 +267,7 @@ Region* Snapshot::get_region(const void* addr) const return nullptr; } -/** @brief Find the snapshoted region from a pointer, with a hinted_region */ +/** @brief Find the snapshotted region from a pointer, with a hinted_region */ Region* Snapshot::get_region(const void* addr, Region* hinted_region) const { if (hinted_region->contain(simgrid::mc::remote(addr))) @@ -282,7 +282,7 @@ void Snapshot::restore(RemoteClient* process) // Restore regions for (std::unique_ptr const& region : snapshot_regions_) { - if (region) // privatized variables are not snapshoted + if (region) // privatized variables are not snapshotted region.get()->restore(); }