From 08b54da75ecfb16e5dcc0b86aecf1171748aeac4 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 30 Mar 2008 01:09:05 +0000 Subject: Readded friend statement required by standard conform compilers. Disabled for gcc 2.95 though. svn-id: r31311 --- common/ptr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/ptr.h b/common/ptr.h index a9598e5914..30a61a2f5b 100644 --- a/common/ptr.h +++ b/common/ptr.h @@ -95,6 +95,9 @@ private: */ template class SharedPtr { +#if !((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) + template friend class SharedPtr; +#endif public: typedef int RefValue; typedef T ValueType; -- cgit v1.2.3