From: Thomas Kho Date: Tue, 23 Aug 2005 10:40:14 +0000 (+0000) Subject: re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types) X-Git-Tag: misc/cutover-cvs2svn~1029 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9191d641185448ad719c02beefd994fc7c5dacbf;p=thirdparty%2Fgcc.git re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types) 2005-08-23 Thomas Kho PR libstdc++/23358 * include/bits/stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator, allocator<_Tp>)): Removed unused template parameter. From-SVN: r103393 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e5cb24a8e2c1..1a08c40084f6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-08-23 Thomas Kho + + PR libstdc++/23358 + * include/bits/stl_construct.h (_Destroy(_ForwardIterator, + _ForwardIterator, allocator<_Tp>)): Removed unused template parameter. + 2005-08-22 Geoffrey Keating * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8. diff --git a/libstdc++-v3/include/bits/stl_construct.h b/libstdc++-v3/include/bits/stl_construct.h index e640b315d02d..8f78d8c30b91 100644 --- a/libstdc++-v3/include/bits/stl_construct.h +++ b/libstdc++-v3/include/bits/stl_construct.h @@ -174,7 +174,7 @@ namespace std __alloc.destroy(&*__first); } - template + template inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last, allocator<_Tp>)