]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 e5cb24a8e2c1f1a2bf12963d9432937d1c6b7183..1a08c40084f6b6a6f8423d4eac429aaa56067298 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 e640b315d02ddbb23ab991236f625ec6e3e0b1dd..8f78d8c30b9145cab2d330638c99632ae1b91769 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>)