X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08a29a4221dc5cec95b766cd9b25c95dcc361df9..dc9b8feaddd53842f6204f4f24409b2382393fa9:/src/mc/mc_record.cpp diff --git a/src/mc/mc_record.cpp b/src/mc/mc_record.cpp index 8183746d34..cdc1151fac 100644 --- a/src/mc/mc_record.cpp +++ b/src/mc/mc_record.cpp @@ -48,7 +48,7 @@ void replay(RecordTrace const& trace) } } -void replay(std::string path_string) +void replay(const std::string& path_string) { simgrid::mc::processes_time.resize(SIMIX_process_get_maxpid()); simgrid::mc::RecordTrace trace = simgrid::mc::parseRecordTrace(path_string.c_str());