diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-05 12:27:32 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-05 12:27:32 (GMT) |
commit | 56b2195b4fe06bab51be3ca7e52e7cb669ba9147 (patch) | |
tree | 6c513a2e8b3dc027de69a01dac5285c02b499ff8 /src/corelib/tools | |
parent | d8d85c9a482fb83161964a8925e2daf490c44007 (diff) | |
download | Qt-56b2195b4fe06bab51be3ca7e52e7cb669ba9147.zip Qt-56b2195b4fe06bab51be3ca7e52e7cb669ba9147.tar.gz Qt-56b2195b4fe06bab51be3ca7e52e7cb669ba9147.tar.bz2 |
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 <robert.loehning@nokia.com>
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qsharedpointer_impl.h | 1 |
1 files changed, 0 insertions, 1 deletions
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: |