Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug some memleaks in simdag tests
[simgrid.git] / src / simgrid / host.cpp
index 08c5d4f..9e26ad8 100644 (file)
@@ -29,7 +29,7 @@ size_t sg_host_count()
  * internally).
  * \see sg_host_count()
  */
-const sg_host_t *sg_host_list(void) {
+sg_host_t *sg_host_list(void) {
   xbt_assert(sg_host_count() > 0, "There is no host!");
   return (sg_host_t*)xbt_dynar_to_array(sg_hosts_as_dynar());
 }