diff --git a/src/cxxTemplates/tsDLList.h b/src/cxxTemplates/tsDLList.h index 2856896cc..b1e722e9d 100644 --- a/src/cxxTemplates/tsDLList.h +++ b/src/cxxTemplates/tsDLList.h @@ -56,12 +56,12 @@ class tsDLNode { public: tsDLNode(); void operator = (const tsDLNode &) const; -protected: - T *getNext(void) const; - T *getPrev(void) const; private: T *pNext; T *pPrev; +//protected: +// T *getNext(void) const; +// T *getPrev(void) const; }; // @@ -670,7 +670,7 @@ inline tsDLIterBD tsDLIterBD::operator ++ (int) template inline tsDLIterBD tsDLIterBD::operator -- () { - tsDLNode &entryNode = *pEntry; + tsDLNode &entryNode = *this->pEntry; this->pEntry = entryNode.pPrev; return *this; } @@ -682,7 +682,7 @@ template inline tsDLIterBD tsDLIterBD::operator -- (int) { tsDLIterBD tmp = *this; - tsDLNode &entryNode = *pEntry; + tsDLNode &entryNode = *this->pEntry; this->pEntry = entryNode.pPrev; return tmp; } diff --git a/src/libCom/cxxTemplates/tsDLList.h b/src/libCom/cxxTemplates/tsDLList.h index 2856896cc..b1e722e9d 100644 --- a/src/libCom/cxxTemplates/tsDLList.h +++ b/src/libCom/cxxTemplates/tsDLList.h @@ -56,12 +56,12 @@ class tsDLNode { public: tsDLNode(); void operator = (const tsDLNode &) const; -protected: - T *getNext(void) const; - T *getPrev(void) const; private: T *pNext; T *pPrev; +//protected: +// T *getNext(void) const; +// T *getPrev(void) const; }; // @@ -670,7 +670,7 @@ inline tsDLIterBD tsDLIterBD::operator ++ (int) template inline tsDLIterBD tsDLIterBD::operator -- () { - tsDLNode &entryNode = *pEntry; + tsDLNode &entryNode = *this->pEntry; this->pEntry = entryNode.pPrev; return *this; } @@ -682,7 +682,7 @@ template inline tsDLIterBD tsDLIterBD::operator -- (int) { tsDLIterBD tmp = *this; - tsDLNode &entryNode = *pEntry; + tsDLNode &entryNode = *this->pEntry; this->pEntry = entryNode.pPrev; return tmp; }