Commit 6caf3f7f by Paolo Carlini Committed by Paolo Carlini

48698.cc (g): Fix return type, avoid -Wall warning.

2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/20_util/bind/48698.cc (g): Fix return type, avoid -Wall
	warning.

From-SVN: r179526
parent 75799b98
2011-10-04 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/bind/48698.cc (g): Fix return type, avoid -Wall
warning.
2011-10-04 Jonathan Wakely <jwakely.gcc@gmail.com> 2011-10-04 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/ext/alloc_traits.h (__alloc_traits::max_size): Define. * include/ext/alloc_traits.h (__alloc_traits::max_size): Define.
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
int f(int i); int f(int i);
// Don't want placeholders to interfere with a possibly-versioned namespace. // Don't want placeholders to interfere with a possibly-versioned namespace.
int g() void g()
{ {
std::bind(f, std::placeholders::_6); std::bind(f, std::placeholders::_6);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment