[v3 patch] Add std::tr1::shared_ptr

Jonathan Wakely cow@compsoc.man.ac.uk
Wed Feb 23 00:29:00 GMT 2005


Although there are copyright questions to be cleared up if the code's in
the repository it should at least work, which requires this patch. Oops.

I assume it's OK?

-------------- next part --------------
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/ChangeLog,v
retrieving revision 1.2910
diff -u -p -r1.2910 ChangeLog
--- ChangeLog	22 Feb 2005 17:07:04 -0000	1.2910
+++ ChangeLog	22 Feb 2005 23:01:13 -0000
@@ -1,3 +1,7 @@
+2005-02-22  Jonathan Wakely  <redi@gcc.gnu.org>
+
+	* include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
+
 2005-02-22  Paolo Carlini  <pcarlini@suse.de>
 
 	* include/tr1/functional: Fix License to GPL with exception.
Index: include/tr1/memory
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/tr1/memory,v
retrieving revision 1.1
diff -u -p -r1.1 memory
--- include/tr1/memory	22 Feb 2005 00:10:18 -0000	1.1
+++ include/tr1/memory	22 Feb 2005 23:01:14 -0000
@@ -81,7 +81,7 @@ public:
 
 // Helper for exception objects in <tr1/memory>
 // TODO this should be defined in a different file.
-void
+inline void
 __throw_bad_weak_ptr()
 {
 #if __EXCEPTIONS


More information about the Libstdc++ mailing list