diff mbox

[v3] Small testsuite patch for -Wall

Message ID 4E1B319E.9030702@oracle.com
State New
Headers show

Commit Message

Paolo Carlini July 11, 2011, 5:23 p.m. UTC
Hi,

tested x86_64-linux, committed.

Paolo.

/////////////////////////
2011-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

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

Patch

Index: testsuite/util/testsuite_allocator.h
===================================================================
--- testsuite/util/testsuite_allocator.h	(revision 176144)
+++ testsuite/util/testsuite_allocator.h	(working copy)
@@ -408,6 +408,7 @@ 
   	{
 	  static_assert(P2, "assigning propagating_allocator<T, true>");
 	  propagating_allocator(a).swap_base(*this);
+	  return *this;
   	}
 
       // postcondition: a.get_personality() == 0