Remove unused typedefs in std::bind types

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

From-SVN: r235157
This commit is contained in:
Jonathan Wakely 2016-04-18 17:37:56 +01:00 committed by Jonathan Wakely
parent 351a5f8142
commit 90751aa731
2 changed files with 2 additions and 2 deletions

View 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

View 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;