From: Maxim Mamontov Date: Mon, 21 Mar 2011 12:17:34 +0000 (+0200) Subject: Cosmetic changes X-Git-Tag: 2.407-rc3~137 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/38da2fa514bbfb11197fa17ecb1cde480bb9e2cc?hp=6e3e89772ba2bdcc78e97da7f1f0cf95e187c81a Cosmetic changes --- diff --git a/projects/stargazer/user_property.h b/projects/stargazer/user_property.h index 932eb424..b269389a 100644 --- a/projects/stargazer/user_property.h +++ b/projects/stargazer/user_property.h @@ -26,16 +26,16 @@ extern const volatile time_t stgTime; template class USER_PROPERTY { public: - USER_PROPERTY(varT& val); + USER_PROPERTY(varT & val); virtual ~USER_PROPERTY(); void Set(const varT & rvalue); - USER_PROPERTY& operator= (const varT & rvalue); - USER_PROPERTY& operator-= (const varT & rvalue); + USER_PROPERTY & operator= (const varT & rvalue); + USER_PROPERTY & operator-= (const varT & rvalue); const varT * operator&() const throw(); - const varT& ConstData() const throw(); + const varT & ConstData() const throw(); operator const varT&() const throw() { @@ -171,7 +171,7 @@ public: //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- template -USER_PROPERTY::USER_PROPERTY(varT& val) +USER_PROPERTY::USER_PROPERTY(varT & val) : value(val) { pthread_mutex_init(&mutex, NULL); @@ -211,7 +211,7 @@ while (ni != afterNotifiers.end()) } //----------------------------------------------------------------------------- template -USER_PROPERTY& USER_PROPERTY::operator= (const varT & newValue) +USER_PROPERTY & USER_PROPERTY::operator= (const varT & newValue) { Set(newValue); return *this; @@ -232,7 +232,7 @@ return &value; } //----------------------------------------------------------------------------- template -const varT& USER_PROPERTY::ConstData() const throw() +const varT & USER_PROPERTY::ConstData() const throw() { return value; } @@ -274,7 +274,7 @@ return modificationTime; //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- template -USER_PROPERTY_LOGGED::USER_PROPERTY_LOGGED(varT& val, +USER_PROPERTY_LOGGED::USER_PROPERTY_LOGGED(varT & val, std::string n, bool isPass, bool isSt,