X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5f02257b1447bf5981110a73700dc9e3b2a91213..d6eb772e45cc853fc204bb5aebeb411cdfa7c929:/src/mc/mc_record.hpp diff --git a/src/mc/mc_record.hpp b/src/mc/mc_record.hpp index 1f4ec512b5..2958780644 100644 --- a/src/mc/mc_record.hpp +++ b/src/mc/mc_record.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2023. 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. */ @@ -22,8 +22,7 @@ #include #include -namespace simgrid { -namespace mc { +namespace simgrid::mc { class RecordTrace { std::vector transitions_; @@ -39,15 +38,12 @@ public: void push_back(Transition* t) { transitions_.push_back(t); } /** Replay all transitions of a trace */ - void replay(); + void replay() const; /** Parse and replay a string representation */ static void replay(const std::string& trace); }; -XBT_PRIVATE void dumpRecordPath(); - -} -} +} // namespace simgrid::mc #endif