Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Change raw for-loops to range for-loops.
[simgrid.git] / src / mc / remote / Client.hpp
index 8217172..d6b7fd6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-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. */
@@ -28,10 +28,10 @@ public:
   void handle_messages();
 
 private:
-  void handle_deadlock_check(s_mc_message_t* msg);
-  void handle_continue(s_mc_message_t* msg);
-  void handle_simcall(s_mc_message_simcall_handle_t* message);
-  void handle_actor_enabled(s_mc_message_actor_enabled_t* msg);
+  void handle_deadlock_check(const s_mc_message_t* msg);
+  void handle_continue(const s_mc_message_t* msg);
+  void handle_simcall(const s_mc_message_simcall_handle_t* message);
+  void handle_actor_enabled(const s_mc_message_actor_enabled_t* msg);
 
 public:
   Channel const& get_channel() const { return channel_; }
@@ -43,7 +43,7 @@ public:
   void unignore_heap(void* addr, std::size_t size);
   void declare_symbol(const char* name, int* value);
 #if HAVE_UCONTEXT_H
-  void declare_stack(void* stack, size_t size, smx_actor_t process, ucontext_t* context);
+  void declare_stack(void* stack, size_t size, ucontext_t* context);
 #endif
 
   // Singleton :/