OSDN Git Service

* include/bits/stl_deque.h (_M_new_elements_at_front): Use
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Oct 2001 18:14:20 +0000 (18:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Oct 2001 18:14:20 +0000 (18:14 +0000)
__throw_exception_again.
(_M_new_elements_at_back): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46647 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 8363e9b..438183b 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 1024252..7cc4492 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;
   }
 }