diff --git a/src/cxxTemplates/tsDLList.h b/src/cxxTemplates/tsDLList.h index 7a8cea08c..ea7a2b8c8 100644 --- a/src/cxxTemplates/tsDLList.h +++ b/src/cxxTemplates/tsDLList.h @@ -427,9 +427,15 @@ public: this->tsDLIter::reset(listIn); } - T * operator () (); + T * operator () () + { + return this->tsDLIter::prev(); + } - T * prev (); + T * prev () + { + return this->tsDLIter::prev(); + } T * last() { @@ -723,24 +729,6 @@ void tsDLBwdIter::remove () } } -// -// tsDLBwdIter::operator () () -// -template -inline T * tsDLBwdIter::operator () () -{ - return this->tsDLIter::prev(); -} - -// -// tsDLBwdIter::prev () -// -template -inline T * tsDLBwdIter::prev () -{ - return this->tsDLIter::prev(); -} - // // tsDLFwdIter::remove () // (and move current to be the item