X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6c4d31bf18078de98e71575d4b032df303f23a3a..d8845c7819caac09b95c4cdf1e8d48cc1cb1b7a6:/include/stg/admin_conf.h diff --git a/include/stg/admin_conf.h b/include/stg/admin_conf.h index 6e073d6f..6f8005f5 100644 --- a/include/stg/admin_conf.h +++ b/include/stg/admin_conf.h @@ -29,7 +29,7 @@ struct PRIV serviceChg(0), corpChg(0) {} - PRIV(uint32_t p) + explicit PRIV(uint32_t p) : userStat((p & 0x00000003) >> 0x00), userConf((p & 0x0000000C) >> 0x02), userCash((p & 0x00000030) >> 0x04), @@ -62,11 +62,6 @@ struct ADMIN_CONF login(), password("* NO PASSWORD *") {} - ADMIN_CONF(const ADMIN_CONF & rvalue) - : priv(rvalue.priv), - login(rvalue.login), - password(rvalue.password) - {} ADMIN_CONF(const PRIV & pr, const std::string & l, const std::string & p) : priv(pr), login(l),