]> git.stg.codes - stg.git/commitdiff
Return value from assignment operator.
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)
include/stg/admin_conf.h

index d906a6540217acd1de25397596bd45c2d0cc9f21..c13160eea86ba47e26e380ba692bb637b95b3f6c 100644 (file)
@@ -90,6 +90,7 @@ struct ADMIN_CONF_RES
         priv = rhs.priv;
         login = rhs.login;
         password = rhs.password;
         priv = rhs.priv;
         login = rhs.login;
         password = rhs.password;
+        return *this;
     }
     RESETABLE<PRIV> priv;
     RESETABLE<std::string> login;
     }
     RESETABLE<PRIV> priv;
     RESETABLE<std::string> login;