From d7b3cdbd9142ed702a98ebb6a3f6759410d27773 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 4 May 2005 16:30:35 +0000 Subject: * GCC 2.95 compatibility. Prevents internal compiler error in member template friends. --- src/boost/shared_ptr.hpp | 2 +- src/boost/weak_ptr.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: -- cgit 1.4.1