X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ba6a9aa642d0960f3c429748f860918572206f92..2501ff5278198b17c195536d0953cbb40d1a5d3b:/tests/testadmin.h diff --git a/tests/testadmin.h b/tests/testadmin.h index b6b871f5..bc11daa9 100644 --- a/tests/testadmin.h +++ b/tests/testadmin.h @@ -5,14 +5,7 @@ class TEST_ADMIN : public ADMIN { public: - TEST_ADMIN() : priv(0xffFF) {} - - 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; } + TEST_ADMIN() : priv(0xffFF), ip(0) {} const std::string & GetPassword() const { return password; } const std::string & GetLogin() const { return login; }