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

Public GIT Repository
MC request_enabled: add documentation and an explosive support for semaphores and...
[simgrid.git] / src / mc / Client.hpp
index 36a6578c83fe76f0d97841cbef442830b64641d5..4f8071ecbe0ab0902212fe9f78262527acab1ddd 100644 (file)
@@ -33,11 +33,11 @@ private:
   static std::unique_ptr<Client> client_;
 public:
   Client();
-  Client(int fd) : active_(true), channel_(fd) {}
+  explicit Client(int fd) : active_(true), channel_(fd) {}
   void handleMessages();
   Channel const& getChannel() const { return channel_; }
   Channel& getChannel() { return channel_; }
-  void mainLoop(void);
+  void mainLoop();
   void reportAssertionFailure(const char* description = nullptr);
   void ignoreMemory(void* addr, std::size_t size);
   void ignoreHeap(void* addr, std::size_t size);