mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
75799b9884
commit
6caf3f7f12
|
@ -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>
|
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 @@
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue