From ffe61a24573ad5257bd6e372dc1d4d57ddf110a6 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 4 Apr 2011 21:26:31 +0300 Subject: [PATCH] Pass property name via const referense instead of value --- include/user_property.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/user_property.h b/include/user_property.h index 3075d8f9..78e5675a 100644 --- a/include/user_property.h +++ b/include/user_property.h @@ -62,7 +62,7 @@ template class USER_PROPERTY_LOGGED: public USER_PROPERTY { public: USER_PROPERTY_LOGGED(varT & val, - const std::string n, + const std::string & n, bool isPassword, bool isStat, STG_LOGGER & logger, @@ -259,7 +259,7 @@ afterNotifiers.erase(n); template inline USER_PROPERTY_LOGGED::USER_PROPERTY_LOGGED(varT & val, - std::string n, + const std::string & n, bool isPass, bool isSt, STG_LOGGER & logger, -- 2.44.2