X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/11ba3502289b2c951089cd7a26234d1785317143..85313e62aa3ec8a2f1de00cb7da9df46588ea2c2:/src/xbt/xbt_replay.cpp diff --git a/src/xbt/xbt_replay.cpp b/src/xbt/xbt_replay.cpp index 2b9a52dad4..d58bab1efc 100644 --- a/src/xbt/xbt_replay.cpp +++ b/src/xbt/xbt_replay.cpp @@ -128,7 +128,7 @@ int replay_runner(const char* actor_name, const char* trace_filename) simgrid::xbt::ReplayAction evt; simgrid::xbt::ReplayReader reader(trace_filename); while (reader.get(&evt)) { - if (evt.front().compare(actor_name) == 0) { + if (evt.front() == actor_name) { simgrid::xbt::handle_action(evt); } else { XBT_WARN("Ignore trace element not for me (target='%s', I am '%s')", evt.front().c_str(), actor_name);