From f7f5d135150c081a8f2fbc93f48ba4ee85f78670 Mon Sep 17 00:00:00 2001 From: Scott R Charlton Date: Tue, 29 Apr 2014 04:53:42 +0000 Subject: [PATCH] added this specifiers git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@8679 1feff8c3-07ed-0310-ac33-dd36852eb9cd --- CVar.hxx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/CVar.hxx b/CVar.hxx index f4c46e21..6cb9c2e2 100644 --- a/CVar.hxx +++ b/CVar.hxx @@ -18,28 +18,28 @@ public: } CVar(const VAR& varSrc) { - type = TT_EMPTY; + this->type = TT_EMPTY; InternalCopy(&varSrc); } CVar(const CVar& varSrc) { - type = TT_EMPTY; + this->type = TT_EMPTY; InternalCopy(&varSrc); } CVar(double dblSrc) throw() { - type = TT_DOUBLE; - dVal = dblSrc; + this->type = TT_DOUBLE; + this->dVal = dblSrc; } CVar(const char* pszSrc) { - type = TT_EMPTY; + this->type = TT_EMPTY; *this = pszSrc; } CVar(long nSrc) throw() { - type = TT_LONG; - lVal = nSrc; + this->type = TT_LONG; + this->lVal = nSrc; } // Assignment Operators @@ -67,13 +67,13 @@ public: CVar& operator=(const char* pszSrc) { Clear(); - type = TT_STRING; - sVal = ::VarAllocString(pszSrc); + this->type = TT_STRING; + this->sVal = ::VarAllocString(pszSrc); - if (sVal == NULL && pszSrc != NULL) + if (this->sVal == NULL && pszSrc != NULL) { - type = TT_ERROR; - vresult = VR_OUTOFMEMORY; + this->type = TT_ERROR; + this->vresult = VR_OUTOFMEMORY; } return *this; } @@ -93,8 +93,8 @@ public: VRESULT vr = Clear(); if (vr != VR_OK) { - type = TT_ERROR; - vresult = vr; + this->type = TT_ERROR; + this->vresult = vr; } return vr; } @@ -104,8 +104,8 @@ public: VRESULT vr = Copy(pSrc); if (vr != VR_OK) { - type = TT_ERROR; - vresult = vr; + this->type = TT_ERROR; + this->vresult = vr; } }