OSDN Git Service

2007-09-14 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / tr1_impl / boost_shared_ptr.h
index d211055..e3d8827 100644 (file)
@@ -856,7 +856,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
            // Q: How can we get here?
            // A: Another thread may have invalidated r after the
            //    use_count test above.
-           return __shared_ptr<element_type>();
+           return __shared_ptr<element_type, _Lp>();
          }
        
 #else