about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-05-04T16·30+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-05-04T16·30+0000
commitd7b3cdbd9142ed702a98ebb6a3f6759410d27773 (patch)
tree1fbe1f2304e00822b25d72a3a90d76057f3e0a67 /src
parentae6d9033a1c6b0b863b94c239c35a2df1a58948a (diff)
* GCC 2.95 compatibility. Prevents internal compiler error in member
  template friends.

Diffstat (limited to 'src')
-rw-r--r--src/boost/shared_ptr.hpp2
-rw-r--r--src/boost/weak_ptr.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/boost/shared_ptr.hpp b/src/boost/shared_ptr.hpp
index 1a627774e565..1702ad268811 100644
--- a/src/boost/shared_ptr.hpp
+++ b/src/boost/shared_ptr.hpp
@@ -324,7 +324,7 @@ public:
 // Tasteless as this may seem, making all members public allows member templates
 // to work in the absence of member template friends. (Matthew Langston)
 
-#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
+#if 0
 
 private:
 
diff --git a/src/boost/weak_ptr.hpp b/src/boost/weak_ptr.hpp
index d44b20127a1d..3d3b3eb79df1 100644
--- a/src/boost/weak_ptr.hpp
+++ b/src/boost/weak_ptr.hpp
@@ -154,7 +154,7 @@ public:
 // Tasteless as this may seem, making all members public allows member templates
 // to work in the absence of member template friends. (Matthew Langston)
 
-#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
+#if 0
 
 private: