summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-28 21:34:34 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-28 21:34:34 +0000
commite2777698bc04c6b82ea35bea3db0ee8ea586bd7a (patch)
tree1e7a3238a437a290304e60a89c042c3bacd676ef /libstdc++-v3
parent576007bc028306bd4d86ecd9fd1ef78f212253c1 (diff)
downloadgcc-e2777698bc04c6b82ea35bea3db0ee8ea586bd7a.tar.gz
* include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95698 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-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 56bc43ce8e7..bac3a5e7acf 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 18ddc2b566c..cfae38da17a 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