From 38da2fa514bbfb11197fa17ecb1cde480bb9e2cc Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 21 Mar 2011 14:17:34 +0200 Subject: [PATCH 1/1] Cosmetic changes --- projects/stargazer/user_property.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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, -- 2.44.2