]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/remote/CheckerSide.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small cleanups in mc::Snapshot
[simgrid.git] / src / mc / remote / CheckerSide.hpp
index a720a9c54c5008bd5bb843223fb94344d741ac5f..c4355cea17d6df597dc54f172af7b75a4d9a381b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2022. 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. */
@@ -13,8 +13,7 @@
 #include <functional>
 #include <memory>
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 class CheckerSide {
   std::unique_ptr<event_base, decltype(&event_base_free)> base_{nullptr, &event_base_free};
@@ -35,11 +34,10 @@ public:
   Channel& get_channel() { return channel_; }
 
   void start(void (*handler)(int, short, void*), ModelChecker* mc);
-  void dispatch();
-  void break_loop();
+  void dispatch() const;
+  void break_loop() const;
 };
 
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc
 
 #endif