remove ambigous Cluster ctor
[awesomized/libmemcached] / test / lib / Cluster.cpp
index 54de9398564e25c5cba32f328fe56299448b7bcd..3ecc6e9abea2d629009e3a54cf05e610bdef2e7c 100644 (file)
@@ -7,9 +7,6 @@ Cluster::Cluster(Server serv, uint16_t cnt)
 : count{cnt}
 , proto{move(serv)}
 {
-  if (count < 4) {
-      count = stoi(getenv_else("MEMCACHED_CLUSTER", "4"));
-  }
   if (!count) {
     count = 1;
   }
@@ -18,13 +15,6 @@ Cluster::Cluster(Server serv, uint16_t cnt)
   }
 }
 
-Cluster::Cluster(vector<Server> servers)
-: count{servers.size()}
-, cluster{move(servers)}
-{
-
-}
-
 Cluster::~Cluster() {
   stop();
   wait();