commit e69d8134edde691db7ea2567032229b210dd263d
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Jun 26 13:27:30 2014 +0100
* include/bits/shared_ptr_base.h (__shared_ptr::_Deleter): Fix
parameter type.
@@ -1085,7 +1085,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _Alloc>
struct _Deleter
{
- void operator()(typename _Alloc::pointer __ptr)
+ void operator()(_Tp* __ptr)
{
__allocated_ptr<_Alloc> __guard{ _M_alloc, __ptr };
allocator_traits<_Alloc>::destroy(_M_alloc, __guard.get());