X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1340b2bc2a098a7e87fa45ff31591d32c864dc7a..6157f90cc9d3cce63b341338c15e91af8ccd6347:/examples/s4u/replay-storage/s4u-replay-storage.cpp diff --git a/examples/s4u/replay-storage/s4u-replay-storage.cpp b/examples/s4u/replay-storage/s4u-replay-storage.cpp index 3d69a72462..9869aeee0d 100644 --- a/examples/s4u/replay-storage/s4u-replay-storage.cpp +++ b/examples/s4u/replay-storage/s4u-replay-storage.cpp @@ -31,7 +31,7 @@ static void log_action(simgrid::xbt::ReplayAction& action, double date) static simgrid::s4u::File* get_file_descriptor(std::string file_name) { - std::string full_name = simgrid::s4u::this_actor::getName() + ":" + file_name; + std::string full_name = simgrid::s4u::this_actor::get_name() + ":" + file_name; return opened_files.at(full_name); } @@ -62,7 +62,7 @@ public: { std::string file_name = action[2]; double clock = simgrid::s4u::Engine::getClock(); - std::string full_name = simgrid::s4u::this_actor::getName() + ":" + file_name; + std::string full_name = simgrid::s4u::this_actor::get_name() + ":" + file_name; ACT_DEBUG("Entering Open: %s (filename: %s)", NAME.c_str(), file_name.c_str()); simgrid::s4u::File* file = new simgrid::s4u::File(file_name, NULL);