Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Const methods.
[simgrid.git] / include / simgrid / s4u / Comm.hpp
index d43131a..a08e5f7 100644 (file)
@@ -119,7 +119,7 @@ public:
    * That's a buffer where the sent data will be copied  */
   CommPtr set_dst_data(void** buff, size_t size);
   /** Retrieve where the data will be copied on the receiver side */
-  void* get_dst_data() { return dst_buff_; }
+  void* get_dst_data() const { return dst_buff_; }
   /** Retrieve the size of the received data. Not to be mixed with @ref Activity::set_remaining()  */
   size_t get_dst_data_size() const { return dst_buff_size_; }