Remove references to QtSharedPointer::InternalRefCount
This class does not exist, is not needed and has never been published in a released version of Qt. It existed during the development of QSharedPointer, when internal reference counting (also known as intrusive counting) was a goal. That goal was abandoned when use with forward-declared classes was preferred. Change-Id: If3a5a29c07fc71e2001d6ba64b90ddd241ab8ae3 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
058c8da0f1
commit
044e2b3262
@ -100,7 +100,6 @@ QSharedPointer<X> qSharedPointerObjectCast(const QSharedPointer<T> &ptr);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace QtSharedPointer {
|
namespace QtSharedPointer {
|
||||||
template <class T> class InternalRefCount;
|
|
||||||
template <class T> class ExternalRefCount;
|
template <class T> class ExternalRefCount;
|
||||||
|
|
||||||
template <class X, class Y> QSharedPointer<X> copyAndSetPointer(X * ptr, const QSharedPointer<Y> &src);
|
template <class X, class Y> QSharedPointer<X> copyAndSetPointer(X * ptr, const QSharedPointer<Y> &src);
|
||||||
@ -453,9 +452,6 @@ namespace QtSharedPointer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Data *d;
|
Data *d;
|
||||||
|
|
||||||
private:
|
|
||||||
template<class X> ExternalRefCount(const InternalRefCount<X> &);
|
|
||||||
};
|
};
|
||||||
} // namespace QtSharedPointer
|
} // namespace QtSharedPointer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user