X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/81e2987ceb9329c50f0ac8109504aa5c784071e2..c46aba70aa4ccf22cc19fac31d451c7158e922dd:/src/xbt/memory_map.cpp diff --git a/src/xbt/memory_map.cpp b/src/xbt/memory_map.cpp index 0fc10cba9e..7d2888b250 100644 --- a/src/xbt/memory_map.cpp +++ b/src/xbt/memory_map.cpp @@ -9,7 +9,9 @@ #include #include -#include +#ifdef __linux__ +# include +#endif #include #include @@ -165,7 +167,7 @@ XBT_PRIVATE std::vector get_memory_map(pid_t pid) std::free(line); std::fclose(fp); - return std::move(ret); + return ret; #else /* On FreeBSD, kinfo_getvmmap() could be used but mmap() support is disabled anyway. */