[v3] Minor inline tweak to stl_tree.h

Submitted by Paolo Carlini on June 23, 2010, 9:53 a.m.

Details

Message ID 4C21D99B.6070200@oracle.com
State New
Headers show

Commit Message

Paolo Carlini June 23, 2010, 9:53 a.m.
Hi,

noticed while working on something else. Committed to mainline.

Paolo.

///////////////
2010-06-23  Paolo Carlini <paolo.carlini@oracle.com>

	* include/bits/stl_tree.h (erase(iterator), erase(const_iterator)):
	Remove inline specifier.

Patch hide | download patch | download mbox

Index: include/bits/stl_tree.h
===================================================================
--- include/bits/stl_tree.h	(revision 161240)
+++ include/bits/stl_tree.h	(working copy)
@@ -1358,7 +1358,7 @@ 
   // DR 130. Associative erase should return an iterator.
   template<typename _Key, typename _Val, typename _KeyOfValue,
            typename _Compare, typename _Alloc>
-    inline typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
+    typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator
     _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
     erase(iterator __position)
     {
@@ -1377,7 +1377,7 @@ 
   // DR 130. Associative erase should return an iterator.
   template<typename _Key, typename _Val, typename _KeyOfValue,
            typename _Compare, typename _Alloc>
-    inline typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator
+    typename _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator
     _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
     erase(const_iterator __position)
     {