X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fcf33975379cd050a6d70b94ae7857910dd01217..4c753f8d4cabd4104f3f7109823f16be2ebdcce3:/src/xbt/memory_map.cpp diff --git a/src/xbt/memory_map.cpp b/src/xbt/memory_map.cpp index 90e5c5f5d5..ceaf8d865c 100644 --- a/src/xbt/memory_map.cpp +++ b/src/xbt/memory_map.cpp @@ -202,7 +202,7 @@ std::vector get_memory_map(pid_t pid) #elif defined __linux__ /* Open the actual process's proc maps file and create the memory_map_t */ /* to be returned. */ - std::string path = std::string("/proc/") + std::to_string(pid) + "/maps"; + std::string path = "/proc/" + std::to_string(pid) + "/maps"; std::ifstream fp; fp.rdbuf()->pubsetbuf(nullptr, 0); fp.open(path);