Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Warning and pessimization fix in get_memory_map: a std::copy of a local variable...
[simgrid.git] / src / xbt / memory_map.cpp
index f97dfcc..7d2888b 100644 (file)
@@ -167,7 +167,7 @@ XBT_PRIVATE std::vector<VmMap> get_memory_map(pid_t pid)
 
   std::free(line);
   std::fclose(fp);
-  return std::move(ret); // MPOQUET FIXME: this line generates a warning on clang 3.7.0
+  return ret;
 #else
   /* On FreeBSD, kinfo_getvmmap() could be used but mmap() support is disabled
      anyway. */