]> git.stg.codes - stg.git/blobdiff - include/stg/admin_conf.h
Portable count.
[stg.git] / include / stg / admin_conf.h
index c13160eea86ba47e26e380ba692bb637b95b3f6c..7fbf44408c72ea45807a8b8f5ae5c1d942df6f6e 100644 (file)
@@ -78,7 +78,11 @@ struct ADMIN_CONF
 //-----------------------------------------------------------------------------
 struct ADMIN_CONF_RES
 {
-    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),