Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further cleanups of the MC protocol (and fix its build :)
[simgrid.git] / src / mc / remote / Client.hpp
index 149140e..b9059a3 100644 (file)
@@ -30,7 +30,7 @@ class XBT_PUBLIC() Client {
 private:
   bool active_ = false;
   Channel channel_;
-  static std::unique_ptr<Client> client_;
+  static std::unique_ptr<Client> instance_;
 
 public:
   Client();
@@ -59,7 +59,7 @@ public:
   // Singleton :/
   // TODO, remove the singleton antipattern.
   static Client* initialize();
-  static Client* get() { return client_.get(); }
+  static Client* get() { return instance_.get(); }
 };
 }
 }