mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 16:16:05 +08:00
shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make nullptr_t specializations inline.
2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com> * include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make nullptr_t specializations inline. From-SVN: r160328
This commit is contained in:
parent
0fc555fbd3
commit
3b1420846c
@ -1,3 +1,8 @@
|
||||
2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* include/bits/shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make
|
||||
nullptr_t specializations inline.
|
||||
|
||||
2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* doc/xml/manual/status_cxx200x.xml: Update.
|
||||
|
@ -109,15 +109,15 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
};
|
||||
|
||||
template<>
|
||||
void
|
||||
inline void
|
||||
_Sp_counted_ptr<nullptr_t, _S_single>::_M_dispose() { }
|
||||
|
||||
template<>
|
||||
void
|
||||
inline void
|
||||
_Sp_counted_ptr<nullptr_t, _S_mutex>::_M_dispose() { }
|
||||
|
||||
template<>
|
||||
void
|
||||
inline void
|
||||
_Sp_counted_ptr<nullptr_t, _S_atomic>::_M_dispose() { }
|
||||
|
||||
// Support for custom deleter and/or allocator
|
||||
|
Loading…
Reference in New Issue
Block a user