mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-22 18:45:10 +08:00
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>
|
||||
|
||||
* include/ext/alloc_traits.h (__alloc_traits::max_size): Define.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user