shared_ptr_base.h (_Sp_counted_ptr::_M_dispose): Make nullptr_t specializations inline.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sat, 5 Jun 2010 18:35:53 +0000 (18:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 5 Jun 2010 18:35:53 +0000 (19:35 +0100)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h

index 050478f..2033e19 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
 2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
index cac1a70..d4c8c8f 100644 (file)
@@ -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