diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-03 12:10:00 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-03 12:14:56 (GMT) |
commit | 9eb370bd519a8648905f8b3b869fac8e8be3ada5 (patch) | |
tree | a6e0d333de672d23a09e8c90d3ff963e464869b9 /src | |
parent | ac55107752934d6a036474e17530492ae3c0a632 (diff) | |
download | Qt-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')
-rw-r--r-- | src/corelib/tools/qsharedpointer_impl.h | 4 |
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: |