OSDN Git Service

2010-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jun 2010 18:35:53 +0000 (18:35 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 5 Jun 2010 18:35:53 +0000 (18:35 +0000)
* 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

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