From patchwork Wed Jun 23 09:53:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3] Minor inline tweak to stl_tree.h Date: Tue, 22 Jun 2010 23:53:31 -0000 From: Paolo Carlini X-Patchwork-Id: 56621 Message-Id: <4C21D99B.6070200@oracle.com> To: "gcc-patches@gcc.gnu.org" Cc: libstdc++ Hi, noticed while working on something else. Committed to mainline. Paolo. /////////////// 2010-06-23 Paolo Carlini * include/bits/stl_tree.h (erase(iterator), erase(const_iterator)): Remove inline specifier. 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 - 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 - 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) {