From c37a22a0581f4a211ab77721a99d2de636ec3467 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 8 Oct 2013 00:28:02 +0300 Subject: [PATCH 1/1] Return value from assignment operator. --- include/stg/admin_conf.h | 1 + 1 file changed, 1 insertion(+) 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; -- 2.44.2