Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: const seems wrong here.
[simgrid.git] / src / mc / sosp / Region.hpp
index 2ee7e52..8293df6 100644 (file)
@@ -69,7 +69,7 @@ public:
    *  @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