summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-08-03 12:10:00 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-08-03 12:14:56 (GMT)
commit9eb370bd519a8648905f8b3b869fac8e8be3ada5 (patch)
treea6e0d333de672d23a09e8c90d3ff963e464869b9 /src/corelib
parentac55107752934d6a036474e17530492ae3c0a632 (diff)
downloadQt-9eb370bd519a8648905f8b3b869fac8e8be3ada5.zip
Qt-9eb370bd519a8648905f8b3b869fac8e8be3ada5.tar.gz
Qt-9eb370bd519a8648905f8b3b869fac8e8be3ada5.tar.bz2
Remove the need for internal API in QSharedPointer.
That way, this code can be compiled with an earlier version of Qt and should still work in new ones. Reviewed-by: Trust Me
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qsharedpointer_impl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/tools/qsharedpointer_impl.h b/src/corelib/tools/qsharedpointer_impl.h
index b8f4139..089c479 100644
--- a/src/corelib/tools/qsharedpointer_impl.h
+++ b/src/corelib/tools/qsharedpointer_impl.h
@@ -350,9 +350,7 @@ namespace QtSharedPointer {
this->value = d && d->strongref ? actual : 0;
}
-#if defined(QT_BUILD_INTERNAL)
- public:
-#endif
+ protected:
Data *d;
private: