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
This commit is contained in:
Paolo Carlini 2011-10-04 21:42:43 +00:00 committed by Paolo Carlini
parent 75799b9884
commit 6caf3f7f12
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* include/ext/alloc_traits.h (__alloc_traits::max_size): Define.

View File

@ -25,7 +25,7 @@
int f(int i);
// Don't want placeholders to interfere with a possibly-versioned namespace.
int g()
void g()
{
std::bind(f, std::placeholders::_6);
}