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

Public GIT Repository
codefactor: a few more annoying spaces
[simgrid.git] / src / mc / sosp / Region.hpp
index 2ee7e5272a6298d15be44dcfecc22dded9e9a292..4985c61c1d32761586df6843fc2d97f7112e5758 100644 (file)
@@ -62,14 +62,14 @@ public:
   /** @brief Restore a region from a snapshot */
   void restore();
 
-  /** @brief Read memory that was snapshoted in this region
+  /** @brief Read memory that was snapshotted in this region
    *
    *  @param target  Buffer to store contiguously the value if it spans over several pages
    *  @param addr    Process (non-snapshot) address of the data
    *  @param size    Size of the data to read in bytes
    *  @return Pointer where the data is located (either target buffer or original location)
    */
-  const void* read(void* target, const void* addr, std::size_t size);
+  void* read(void* target, const void* addr, std::size_t size);
 };
 
 } // namespace mc