X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ce30e86822237a3523fd394943d50d010d70b701..7d1614894335eed4a086e1c2712dafea9c00a3f1:/tests/testadmin.h?ds=sidebyside diff --git a/tests/testadmin.h b/tests/testadmin.h index 2175dbb6..bc11daa9 100644 --- a/tests/testadmin.h +++ b/tests/testadmin.h @@ -5,14 +5,7 @@ class TEST_ADMIN : public ADMIN { public: - TEST_ADMIN() : priv(0xffFFffFF) {} - - 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; }