Remove invalid alias declaration from _Node_handle

* include/bits/node_handle.h (_Node_handle): Remove invalid and unused
	alias declaration.

From-SVN: r240779
This commit is contained in:
Jonathan Wakely 2016-10-05 13:01:44 +01:00 committed by Jonathan Wakely
parent 78ec9c15be
commit d72d690a92
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2016-10-05 Jonathan Wakely <jwakely@redhat.com>
* include/bits/node_handle.h (_Node_handle): Remove invalid and unused
alias declaration.
PR libstdc++/70564
* include/experimental/functional (_Not_fn): Remove.
(not_fn): Use std::_Not_fn.

View File

@ -182,10 +182,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
private:
using _AllocTraits = allocator_traits<_NodeAlloc>;
using _PtrTraits = pointer_traits<typename _NodeAlloc::pointer>;
_Node_handle(typename _AllocTraits::pointer __ptr,
const _NodeAlloc& __alloc)
const _NodeAlloc& __alloc)
: _Node_handle_common<_Value, _NodeAlloc>(__ptr, __alloc)
{
if (__ptr)
@ -261,7 +259,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
using _AllocTraits = allocator_traits<_NodeAlloc>;
_Node_handle(typename _AllocTraits::pointer __ptr,
const _NodeAlloc& __alloc)
const _NodeAlloc& __alloc)
: _Node_handle_common<_Value, _NodeAlloc>(__ptr, __alloc) { }
const value_type&