From fd16d1bb65f79d470665718416a4d0da3dff22a9 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Fri, 22 Aug 2003 11:28:02 +0000 Subject: [PATCH] aCC (native HPUX) wants some templated inlines to be defined in the declaration. --- src/cxxTemplates/tsDLList.h | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) 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