diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-10-30 19:14:20 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2001-10-30 19:14:20 +0100 |
commit | 6446106eb7562f91cbe48a8b746e861a73943bb0 (patch) | |
tree | 3e6f9bfcdc9b248b3e337b027fd66b8ac7f84443 | |
parent | 6bbdfefd6f61d1536c7197e2840a4906587e8e62 (diff) | |
download | gcc-6446106eb7562f91cbe48a8b746e861a73943bb0.zip gcc-6446106eb7562f91cbe48a8b746e861a73943bb0.tar.gz gcc-6446106eb7562f91cbe48a8b746e861a73943bb0.tar.bz2 |
stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.
From-SVN: r46647
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_deque.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8363e9b..438183b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/include/bits/stl_deque.h b/libstdc++-v3/include/bits/stl_deque.h index 1024252..7cc4492 100644 --- a/libstdc++-v3/include/bits/stl_deque.h +++ b/libstdc++-v3/include/bits/stl_deque.h @@ -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; } } |