From 56b2195b4fe06bab51be3ca7e52e7cb669ba9147 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 5 Aug 2009 14:27:32 +0200 Subject: Fix compilation for compilers that don't have template friends. GCC has template friends, so I wasn't seeing the error that d is protected. Thanks to Robert for pointing out. Reviewed-by: Robert Loehning --- src/corelib/tools/qsharedpointer_impl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/tools/qsharedpointer_impl.h b/src/corelib/tools/qsharedpointer_impl.h index e8e3812..3ee407c 100644 --- a/src/corelib/tools/qsharedpointer_impl.h +++ b/src/corelib/tools/qsharedpointer_impl.h @@ -387,7 +387,6 @@ namespace QtSharedPointer { this->value = d && d->strongref ? actual : 0; } - protected: Data *d; private: -- cgit v0.12