diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-04T16·30+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-04T16·30+0000 |
commit | d7b3cdbd9142ed702a98ebb6a3f6759410d27773 (patch) | |
tree | 1fbe1f2304e00822b25d72a3a90d76057f3e0a67 /src/boost | |
parent | ae6d9033a1c6b0b863b94c239c35a2df1a58948a (diff) |
* GCC 2.95 compatibility. Prevents internal compiler error in member
template friends.
Diffstat (limited to 'src/boost')
-rw-r--r-- | src/boost/shared_ptr.hpp | 2 | ||||
-rw-r--r-- | src/boost/weak_ptr.hpp | 2 |
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: |