stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Oct 2001 18:14:20 +0000 (19:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Oct 2001 18:14:20 +0000 (19:14 +0100)
* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.

From-SVN: r46647

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h

index 8363e9bcbcbe72b6edb15c4e1ebc03a8df2037e3..438183b36fd3ef3f6a2012325db5e4c60ae46545 100644 (file)
@@ -1,3 +1,9 @@
+2001-10-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * include/bits/stl_deque.h (_M_new_elements_at_front): Use
+       __throw_exception_again.
+       (_M_new_elements_at_back): Likewise.
+
 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
 
        libstdc++/3647
index 1024252ddfabe13276ce662465059d0a8658cd30..7cc4492040b84abd57b8e4129511a55b479ba11d 100644 (file)
@@ -1342,7 +1342,7 @@ void deque<_Tp,_Alloc>::_M_new_elements_at_front(size_type __new_elems)
   catch(...) {
     for (size_type __j = 1; __j < __i; ++__j)
       _M_deallocate_node(*(_M_start._M_node - __j));      
-    throw;
+    __throw_exception_again;
   }
 }
 
@@ -1360,7 +1360,7 @@ void deque<_Tp,_Alloc>::_M_new_elements_at_back(size_type __new_elems)
   catch(...) {
     for (size_type __j = 1; __j < __i; ++__j)
       _M_deallocate_node(*(_M_finish._M_node + __j));      
-    throw;
+    __throw_exception_again;
   }
 }