diff mbox

Remove unused typedefs in std::bind types

Message ID 20160418163754.GH2839@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely April 18, 2016, 4:37 p.m. UTC
Tested x86_64-linux, committed to trunk.
diff mbox

Patch

commit ea5d727f12fcbbb5a8b7b0789f88968649937176
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Mon Mar 14 09:40:41 2016 +0000

    Remove unused typedefs in std::bind types
    
    	* include/std/function (_Bind, _Bind_result): Remove unused typedefs.

diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional
index 9799410..1edd886 100644
--- a/libstdc++-v3/include/std/functional
+++ b/libstdc++-v3/include/std/functional
@@ -927,7 +927,6 @@  _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
     class _Bind<_Functor(_Bound_args...)>
     : public _Weak_result_type<_Functor>
     {
-      typedef _Bind __self_type;
       typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
 	_Bound_indexes;
 
@@ -1052,7 +1051,6 @@  _GLIBCXX_MEM_FN_TRAITS(&&, false_type, true_type)
   template<typename _Result, typename _Functor, typename... _Bound_args>
     class _Bind_result<_Result, _Functor(_Bound_args...)>
     {
-      typedef _Bind_result __self_type;
       typedef typename _Build_index_tuple<sizeof...(_Bound_args)>::__type
 	_Bound_indexes;