diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-05 18:35:53 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-05 18:35:53 +0000 |
commit | eaf2005142c28852eaf33ff434622e26640395aa (patch) | |
tree | e3da7b2f487da84dadd4b6ffc83e7c444ee1aa96 /libstdc++-v3/include/bits/shared_ptr_base.h | |
parent | 8a2980bee4ac6f8ceb9c57a2b7e72eebbf198c98 (diff) | |
download | ppe42-gcc-eaf2005142c28852eaf33ff434622e26640395aa.tar.gz ppe42-gcc-eaf2005142c28852eaf33ff434622e26640395aa.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/shared_ptr_base.h')
-rw-r--r-- | libstdc++-v3/include/bits/shared_ptr_base.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/bits/shared_ptr_base.h b/libstdc++-v3/include/bits/shared_ptr_base.h index cac1a70c167..d4c8c8fb824 100644 --- a/libstdc++-v3/include/bits/shared_ptr_base.h +++ b/libstdc++-v3/include/bits/shared_ptr_base.h @@ -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 |