diff options
Diffstat (limited to 'hwpfilter/source/list.hxx')
-rw-r--r-- | hwpfilter/source/list.hxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx index c4371d29a070..11dae5fa39ec 100644 --- a/hwpfilter/source/list.hxx +++ b/hwpfilter/source/list.hxx @@ -61,13 +61,6 @@ public: /// construct list with single element explicit LinkedListIterator( LinkedList<T>* pList = 0 ); ~LinkedListIterator(); - - // bug-compatible with original LinkedList.h/cxx: Ignore parameter! - void operator++( int ); /// advance iterator by one step (ignore n !!!) - void operator--( int ); /// go one step backwards (ignore n !!!) - void operator++(); /// advance iterator by one step - void operator--(); /// go one step backwards - }; @@ -111,38 +104,6 @@ LinkedListIterator<T>::~LinkedListIterator() { } -template<class T> -void LinkedListIterator<T>::operator++( int ) -{ - ASSERT( mpList != nullptr ); - - // bug-compatible with LinkedList.cxx: ignore parameter! - mnPosition ++; -} - -template<class T> -void LinkedListIterator<T>::operator--( int ) -{ - ASSERT( mpList != nullptr ); - - // bug-compatible with LinkedList.cxx: ignore parameter! - mnPosition --; -} - -template<class T> -void LinkedListIterator<T>::operator++() -{ - ASSERT( mpList != nullptr ); - mnPosition ++; -} - -template<class T> -void LinkedListIterator<T>::operator--() -{ - ASSERT( mpList != nullptr ); - mnPosition --; -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |