From: Maxim Mamontov Date: Mon, 7 Oct 2013 21:28:02 +0000 (+0300) Subject: Return value from assignment operator. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/c37a22a0581f4a211ab77721a99d2de636ec3467?ds=sidebyside Return value from assignment operator. --- diff --git a/include/stg/admin_conf.h b/include/stg/admin_conf.h index d906a654..c13160ee 100644 --- a/include/stg/admin_conf.h +++ b/include/stg/admin_conf.h @@ -90,6 +90,7 @@ struct ADMIN_CONF_RES priv = rhs.priv; login = rhs.login; password = rhs.password; + return *this; } RESETABLE priv; RESETABLE login;