Additional cleanup
[m6w6/libmemcached] / libtest / memcached.h
index 8a0b17955a229a8f75560c6e13c8a2a909b22897..915d3fa8a97cb15828ceb7d534d235e0f5832856 100644 (file)
@@ -49,25 +49,3 @@ libtest::Server *build_memcached_sasl(const std::string& hostname, const in_port
 libtest::Server *build_memcached_sasl_socket(const std::string& socket_file, const in_port_t try_port, const std::string& username, const std::string& password);
 
 }
-
-#if defined(LIBMEMCACHED) && LIBMEMCACHED
-bool operator== (const memcached_st&c memc, const memcached_return_t rc)
-{
-  if (memcached_last_error(&memc) == rc)
-  {
-    return true;
-  }
-
-  return false;
-}
-
-bool operator!= (const memcached_st&c memc, const memcached_return_t rc)
-{
-  if (memcached_last_error(&memc) != rc)
-  {
-    return true;
-  }
-
-  return false;
-}
-#endif