48698.cc (g): Fix return type, avoid -Wall warning.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 4 Oct 2011 21:42:43 +0000 (21:42 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 4 Oct 2011 21:42:43 +0000 (21:42 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/bind/48698.cc

index 10cfaaf70bf1f4db47e35ca8481fc5ae2009f5fd..2c17169ebca8cf8e8e1bd9ff6209d4ef9ef123c8 100644 (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.
index a623735f3eb34ad215006c9548510bb2d47dde18..87e5f2386324be2fd399ab4796f8be0b522f2728 100644 (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);
 }