diff -r 08907e19c36b -r 0dc7a084f6bd wlan_bearer/wlanldd/wlan_common/osa_common/inc/osalist.inl --- a/wlan_bearer/wlanldd/wlan_common/osa_common/inc/osalist.inl Sun Mar 28 16:41:03 2010 +0100 +++ b/wlan_bearer/wlanldd/wlan_common/osa_common/inc/osalist.inl Thu Apr 08 11:33:33 2010 +0100 @@ -37,7 +37,7 @@ // ----------------------------------------------------------------------------- // template -inline list::iterator list::begin() +inline typename list::iterator list::begin() { // for empty ranges begin() == end() return ( !(empty()) ? list_iterator( iFirst ) : end() ); @@ -48,7 +48,7 @@ // ----------------------------------------------------------------------------- // template -inline list::const_iterator list::begin() const +inline typename list::const_iterator list::begin() const { // for empty ranges begin() == end() return ( !(empty()) ? list_iterator( iFirst ) : end() ); @@ -59,7 +59,7 @@ // ----------------------------------------------------------------------------- // template -inline list::iterator list::end() +inline typename list::iterator list::end() { return list_iterator(); } @@ -69,7 +69,7 @@ // ----------------------------------------------------------------------------- // template -inline list::const_iterator list::end() const +inline typename list::const_iterator list::end() const { return list_iterator(); } @@ -79,7 +79,7 @@ // ----------------------------------------------------------------------------- // template -inline list::size_type list::size() const +inline typename list::size_type list::size() const { return iNumOfElems; } @@ -99,7 +99,7 @@ // ----------------------------------------------------------------------------- // template -inline list::reference list::front() +inline typename list::reference list::front() { // front() for empty sequence is undefined so assert MWlanOsa::Assert( @@ -112,7 +112,7 @@ // ----------------------------------------------------------------------------- // template -inline list::const_reference list::front() const +inline typename list::const_reference list::front() const { // front() for empty sequence is undefined so assert MWlanOsa::Assert( @@ -125,7 +125,7 @@ // ----------------------------------------------------------------------------- // template -inline list::reference list::back() +inline typename list::reference list::back() { // back() for empty sequence is undefined so assert MWlanOsa::Assert( @@ -138,7 +138,7 @@ // ----------------------------------------------------------------------------- // template -inline list::const_reference list::back() const +inline typename list::const_reference list::back() const { // back() for empty sequence is undefined so assert MWlanOsa::Assert( @@ -304,7 +304,7 @@ // ----------------------------------------------------------------------------- // template -inline list::iterator list::insert( iterator aPos, const T& aElem ) +inline typename list::iterator list::insert( iterator aPos, const T& aElem ) { // allocate a new node for the element Node* node = new Node( aElem ); @@ -355,7 +355,7 @@ // ----------------------------------------------------------------------------- // template -inline list::iterator list::erase( iterator aPos ) +inline typename list::iterator list::erase( iterator aPos ) { // extract node to be erased Node* node = aPos();