diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 17:19:53 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-11 17:19:53 +0000 |
commit | 739fa2708de57ed79f4d662d5d3e21933c35020c (patch) | |
tree | f87448996ff9a4c3cb3ad6fc10e3c9741e578f57 /libstdc++-v3 | |
parent | d89f182d5175ef56fcf5a8388c48d964b3c3aa74 (diff) | |
download | ppe42-gcc-739fa2708de57ed79f4d662d5d3e21933c35020c.tar.gz ppe42-gcc-739fa2708de57ed79f4d662d5d3e21933c35020c.zip |
2011-07-11 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_allocator.h (propagating_allocator<>::
operator=(const propagating_allocator<>&)): Retun *this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 13 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/util/testsuite_allocator.h | 1 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6424c558ace..7ec671c7ba2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-07-11 Paolo Carlini <paolo.carlini@oracle.com> + + * testsuite/util/testsuite_allocator.h (propagating_allocator<>:: + operator=(const propagating_allocator<>&)): Retun *this. + 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com> * include/Makefile.am: Add new header. @@ -24,10 +29,10 @@ Adjust dg-error line numbers. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. - * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: - Likewise. - * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: - Likewise. + * testsuite/23_containers/vector/requirements/dr438/ + constructor_1_neg.cc: Likewise. + * testsuite/23_containers/vector/requirements/dr438/ + constructor_2_neg.cc: Likewise. 2011-07-09 Jonathan Wakely <jwakely.gcc@gmail.com> diff --git a/libstdc++-v3/testsuite/util/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h index 3b9fb28b901..5ef5cdbffb9 100644 --- a/libstdc++-v3/testsuite/util/testsuite_allocator.h +++ b/libstdc++-v3/testsuite/util/testsuite_allocator.h @@ -408,6 +408,7 @@ namespace __gnu_test { static_assert(P2, "assigning propagating_allocator<T, true>"); propagating_allocator(a).swap_base(*this); + return *this; } // postcondition: a.get_personality() == 0 |