From 6c6628047db7319e630e6a8e660c5207ea83748e Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 16 Sep 2011 20:46:00 +0300 Subject: [PATCH 1/1] Unused methods removed from TEST_ADMIN --- tests/testadmin.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/testadmin.h b/tests/testadmin.h index 59f81d31..bc11daa9 100644 --- a/tests/testadmin.h +++ b/tests/testadmin.h @@ -7,13 +7,6 @@ class TEST_ADMIN : public ADMIN { public: TEST_ADMIN() : priv(0xffFF), ip(0) {} - ADMIN & operator=(const ADMIN &) { return *this; } - ADMIN & operator=(const ADMIN_CONF &) { return *this; } - bool operator==(const ADMIN & /*rhs*/) const { return true; } - bool operator!=(const ADMIN & /*rhs*/) const { return false; } - bool operator<(const ADMIN & /*rhs*/) const { return true; } - bool operator<=(const ADMIN & /*rhs*/) const { return true; } - const std::string & GetPassword() const { return password; } const std::string & GetLogin() const { return login; } PRIV const * GetPriv() const { return &priv; } -- 2.44.2