aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorPaolo Carlini <paolo@gcc.gnu.org>2011-07-11 17:19:53 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-07-11 17:19:53 +0000
commit0f509bb7d5a6e6ddc05fce24bc46880c901b44ab (patch)
treef87448996ff9a4c3cb3ad6fc10e3c9741e578f57 /libstdc++-v3/testsuite
parent96ae7458c01e0a23c71b7809a850493a89f3ebe3 (diff)
downloadgcc-0f509bb7d5a6e6ddc05fce24bc46880c901b44ab.zip
gcc-0f509bb7d5a6e6ddc05fce24bc46880c901b44ab.tar.gz
gcc-0f509bb7d5a6e6ddc05fce24bc46880c901b44ab.tar.bz2
testsuite_allocator.h (propagating_allocator<>:: operator=(const propagating_allocator<>&)): Retun *this.
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
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/util/testsuite_allocator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/util/testsuite_allocator.h b/libstdc++-v3/testsuite/util/testsuite_allocator.h
index 3b9fb28..5ef5cdb 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