From 9191d641185448ad719c02beefd994fc7c5dacbf Mon Sep 17 00:00:00 2001 From: Thomas Kho <tkho@ucla.edu> Date: Tue, 23 Aug 2005 10:40:14 +0000 Subject: [PATCH] re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types) 2005-08-23 Thomas Kho <tkho@ucla.edu> PR libstdc++/23358 * include/bits/stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator, allocator<_Tp>)): Removed unused template parameter. From-SVN: r103393 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/bits/stl_construct.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 <tkho@ucla.edu> + + PR libstdc++/23358 + * include/bits/stl_construct.h (_Destroy(_ForwardIterator, + _ForwardIterator, allocator<_Tp>)): Removed unused template parameter. + 2005-08-22 Geoffrey Keating <geoffk@apple.com> * 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<typename _ForwardIterator, typename _Allocator, typename _Tp> + template<typename _ForwardIterator, typename _Tp> inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last, allocator<_Tp>)