fix warnings
[awesomized/libmemcached] / test / lib / Server.hpp
index bfbab812259a44ec14118fa221d577009368874f..f37c79a5e734d6a63297864b4ea50e3d987ab6c0 100644 (file)
@@ -33,12 +33,7 @@ public:
     pipe = exchange(s.pipe, -1);
     status = exchange(s.status, 0);
     signalled = exchange(s.signalled, {});
-#if __clang__ && __clang_major__ <= 7
-    socket_or_port = s.socket_or_port;
-    s.socket_or_port = 11211;
-#else
-    socket_or_port = exchange(s.socket_or_port, 11211);
-#endif
+    socket_or_port = exchange(s.socket_or_port, {});
     output = exchange(s.output, {});
     return *this;
   };