aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/tr1/memory2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 56bc43c..bac3a5e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
+
+ * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
+
2005-02-28 Hans-Peter Nilsson <hp@axis.com>
PR target/19065
diff --git a/libstdc++-v3/include/tr1/memory b/libstdc++-v3/include/tr1/memory
index 18ddc2b..cfae38d 100644
--- a/libstdc++-v3/include/tr1/memory
+++ b/libstdc++-v3/include/tr1/memory
@@ -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