Remove unused typedefs in std::bind types
authorJonathan Wakely <jwakely@redhat.com>
Mon, 18 Apr 2016 16:37:56 +0000 (17:37 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 18 Apr 2016 16:37:56 +0000 (17:37 +0100)
* include/std/function (_Bind, _Bind_result): Remove unused typedefs.

From-SVN: r235157

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional

index eb9dfc2a43d907fabacde4d176e98308e2809fed..cb1e7a1520fe2d66c0b30cff0791c7705f99d4fd 100644 (file)
@@ -1,5 +1,7 @@
 2016-04-18  Jonathan Wakely  <jwakely@redhat.com>
 
+       * include/std/function (_Bind, _Bind_result): Remove unused typedefs.
+
        * config/cpu/sh/atomicity.h: Fix typo in comment.
 
        PR libstdc++/70294
index 979941072ba3805b63b3b08ec14a96cc508dc0f8..1edd8868cfc1fb58ea6427d05fafe6790fe20294 100644 (file)
@@ -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;