testsuite_allocator.h (propagating_allocator<>:: operator=(const propagating_allocato...
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 11 Jul 2011 17:19:53 +0000 (17:19 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 11 Jul 2011 17:19:53 +0000 (17:19 +0000)
2011-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_allocator.h (propagating_allocator<>::
operator=(const propagating_allocator<>&)): Retun *this.

From-SVN: r176169

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_allocator.h

index 6424c558aced8fc774ddbea6dee95c4b119e7ee5..7ec671c7ba252872791952076f5dbf70616f9caa 100644 (file)
@@ -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.
        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>
 
index 3b9fb28b9011467357eb01d5b31068f039a9af36..5ef5cdbffb9099063ed7ee0586800015de5c0b27 100644 (file)
@@ -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