re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types)
authorThomas Kho <tkho@ucla.edu>
Tue, 23 Aug 2005 10:40:14 +0000 (10:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 23 Aug 2005 10:40:14 +0000 (10:40 +0000)
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
libstdc++-v3/include/bits/stl_construct.h

index e5cb24a..1a08c40 100644 (file)
@@ -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.
index e640b31..8f78d8c 100644 (file)
@@ -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>)