From 6caf3f7f123174d5c9b7fd6b4bdbf62c75cdf09f Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Tue, 4 Oct 2011 21:42:43 +0000 Subject: [PATCH] 48698.cc (g): Fix return type, avoid -Wall warning. 2011-10-04 Paolo Carlini * testsuite/20_util/bind/48698.cc (g): Fix return type, avoid -Wall warning. From-SVN: r179526 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/20_util/bind/48698.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 10cfaaf70bf1..2c17169ebca8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2011-10-04 Paolo Carlini + + * testsuite/20_util/bind/48698.cc (g): Fix return type, avoid -Wall + warning. + 2011-10-04 Jonathan Wakely * include/ext/alloc_traits.h (__alloc_traits::max_size): Define. diff --git a/libstdc++-v3/testsuite/20_util/bind/48698.cc b/libstdc++-v3/testsuite/20_util/bind/48698.cc index a623735f3eb3..87e5f2386324 100644 --- a/libstdc++-v3/testsuite/20_util/bind/48698.cc +++ b/libstdc++-v3/testsuite/20_util/bind/48698.cc @@ -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); }