X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/113bf5945d989f0b88d728d6883f30a3d1152b28..f1671393f75bd162d50e64573db72c0e80cd137f:/examples/s4u/replay-comm/s4u-replay-comm.cpp?ds=sidebyside diff --git a/examples/s4u/replay-comm/s4u-replay-comm.cpp b/examples/s4u/replay-comm/s4u-replay-comm.cpp index 95affd0985..0543bc5b98 100644 --- a/examples/s4u/replay-comm/s4u-replay-comm.cpp +++ b/examples/s4u/replay-comm/s4u-replay-comm.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -18,7 +18,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(replay_comm, "Messages specific for this msg exampl } else \ ((void)0) -static void log_action(simgrid::xbt::ReplayAction& action, double date) +static void log_action(const simgrid::xbt::ReplayAction& action, double date) { if (XBT_LOG_ISENABLED(replay_comm, xbt_log_priority_verbose)) { std::string s = boost::algorithm::join(action, " "); @@ -35,7 +35,7 @@ public: simgrid::xbt::replay_runner(actor_name, trace_filename); } - void operator()() + void operator()() const { // Nothing to do here }