diff --git a/src/core/qqtorderedmap.h b/src/core/qqtorderedmap.h index 016fca0d..b6e0e4e2 100644 --- a/src/core/qqtorderedmap.h +++ b/src/core/qqtorderedmap.h @@ -525,7 +525,7 @@ public: } //template - Q_INLINE_TEMPLATE typename iterator insert ( const Key& akey, + Q_INLINE_TEMPLATE typename QOrderedMap::iterator insert ( const Key& akey, const T& avalue ) { detach(); @@ -552,7 +552,7 @@ public: //need more test //template - typename iterator insert ( const_iterator pos, const Key& akey, + typename QOrderedMap::iterator insert ( const_iterator pos, const Key& akey, const T& avalue ) { detach(); @@ -590,7 +590,7 @@ public: } //template - Q_INLINE_TEMPLATE typename iterator insertMulti ( const Key& akey, + Q_INLINE_TEMPLATE typename QOrderedMap::iterator insertMulti ( const Key& akey, const T& avalue ) { detach(); @@ -608,7 +608,7 @@ public: //need more test //template - typename iterator insertMulti ( const_iterator pos, const Key& akey, + typename QOrderedMap::iterator insertMulti ( const_iterator pos, const Key& akey, const T& avalue ) { Node n; @@ -634,7 +634,7 @@ public: //template - Q_INLINE_TEMPLATE typename const_iterator constFind ( + Q_INLINE_TEMPLATE typename QOrderedMap::const_iterator constFind ( const Key& akey ) const { for ( typename QList::ConstIterator itor = d->constBegin(); @@ -651,13 +651,13 @@ public: } //template - Q_INLINE_TEMPLATE typename const_iterator find ( const Key& akey ) const + Q_INLINE_TEMPLATE typename QOrderedMap::const_iterator find ( const Key& akey ) const { return constFind ( akey ); } //template - Q_INLINE_TEMPLATE typename iterator find ( const Key& akey ) + Q_INLINE_TEMPLATE typename QOrderedMap::iterator find ( const Key& akey ) { detach(); for ( typename QList::Iterator itor = d->begin(); @@ -690,7 +690,7 @@ public: //need //template - QPair + QPair::iterator, typename QOrderedMap::iterator> equal_range ( const Key& akey ) { detach(); @@ -727,7 +727,7 @@ public: } //template - QPair + QPair::const_iterator, typename QOrderedMap::const_iterator> equal_range ( const Key& akey ) const { Node* firstNode, *lastNode; @@ -828,7 +828,7 @@ public: } //template - Q_OUTOFLINE_TEMPLATE typename iterator erase ( iterator it ) + Q_OUTOFLINE_TEMPLATE typename QOrderedMap::iterator erase ( iterator it ) { if ( it == iterator ( d->end(), d ) ) return it;