]> git.stg.codes - stg.git/blobdiff - include/stg/admin_conf.h
Rename tariff to tariffName
[stg.git] / include / stg / admin_conf.h
index d906a6540217acd1de25397596bd45c2d0cc9f21..8b1a988e1877ff79c77e73bfd404b67e22710583 100644 (file)
@@ -78,7 +78,10 @@ struct ADMIN_CONF
 //-----------------------------------------------------------------------------
 struct ADMIN_CONF_RES
 {
-    ADMIN_CONF_RES()
+    ADMIN_CONF_RES(const ADMIN_CONF & conf)
+        : priv(conf.priv),
+          login(conf.login),
+          password(conf.password)
     {}
     ADMIN_CONF_RES(const ADMIN_CONF_RES & rhs)
         : priv(rhs.priv),
@@ -90,6 +93,7 @@ struct ADMIN_CONF_RES
         priv = rhs.priv;
         login = rhs.login;
         password = rhs.password;
+        return *this;
     }
     RESETABLE<PRIV> priv;
     RESETABLE<std::string> login;