X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/afcbfd1a09e22ff4839ba5db42047c96f355506c..8c6fa3fbaccc22127280bf77a48fab5a3ee0716e:/include/stg/admin_conf.h?ds=inline diff --git a/include/stg/admin_conf.h b/include/stg/admin_conf.h index a2639d36..6f8005f5 100644 --- a/include/stg/admin_conf.h +++ b/include/stg/admin_conf.h @@ -74,8 +74,19 @@ struct ADMIN_CONF //----------------------------------------------------------------------------- struct ADMIN_CONF_RES { - ADMIN_CONF_RES() + ADMIN_CONF_RES() {} + ADMIN_CONF_RES(const ADMIN_CONF_RES & rhs) + : priv(rhs.priv), + login(rhs.login), + password(rhs.password) {} + ADMIN_CONF_RES & operator=(const ADMIN_CONF_RES & rhs) + { + priv = rhs.priv; + login = rhs.login; + password = rhs.password; + return *this; + } RESETABLE priv; RESETABLE login; RESETABLE password;