diff --git a/src/corelib/tools/qsharedpointer_impl.h b/src/corelib/tools/qsharedpointer_impl.h index 0688f944219..4a9327fe813 100644 --- a/src/corelib/tools/qsharedpointer_impl.h +++ b/src/corelib/tools/qsharedpointer_impl.h @@ -100,7 +100,6 @@ QSharedPointer qSharedPointerObjectCast(const QSharedPointer &ptr); #endif namespace QtSharedPointer { - template class InternalRefCount; template class ExternalRefCount; template QSharedPointer copyAndSetPointer(X * ptr, const QSharedPointer &src); @@ -453,9 +452,6 @@ namespace QtSharedPointer { } Data *d; - - private: - template ExternalRefCount(const InternalRefCount &); }; } // namespace QtSharedPointer