diff --git a/src/libCom/cxxTemplates/tsDLList.h b/src/libCom/cxxTemplates/tsDLList.h index 764fa932d..64db12b8c 100644 --- a/src/libCom/cxxTemplates/tsDLList.h +++ b/src/libCom/cxxTemplates/tsDLList.h @@ -60,7 +60,7 @@ class tsDLNode { friend class tsDLBwdIter; // deprecated public: tsDLNode(); - tsDLNode & operator = (const tsDLNode &) const; + tsDLNode operator = (const tsDLNode &) const; private: T *pNext; T *pPrev; @@ -238,7 +238,7 @@ inline tsDLNode::tsDLNode() : pNext(0), pPrev(0) {} // do _not_ change the node pointers // template -inline tsDLNode & tsDLNode::operator = (const tsDLNode &) const { return tsDLNode() } +inline tsDLNode tsDLNode::operator = (const tsDLNode &) const { return tsDLNode() } //template //T * tsDLNode::getNext (void) const