Update for release.
[m6w6/libmemcached] / libtest / memcached.h
index 8a0b17955a229a8f75560c6e13c8a2a909b22897..405f275f786ed9b20ed0798e5894f7b9176b398d 100644 (file)
@@ -50,24 +50,3 @@ libtest::Server *build_memcached_sasl_socket(const std::string& socket_file, con
 
 }
 
-#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