From: Maxim Mamontov Date: Fri, 16 Sep 2011 17:46:00 +0000 (+0300) Subject: Unused methods removed from TEST_ADMIN X-Git-Tag: 2.408-rc1~32 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/6c6628047db7319e630e6a8e660c5207ea83748e?hp=3b856e83ad55125111fe5961d07d7524bd6ee283 Unused methods removed from TEST_ADMIN --- 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; }