diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp index 515eb9dc751..17d9264ba7f 100644 --- a/src/corelib/tools/qscopedpointer.cpp +++ b/src/corelib/tools/qscopedpointer.cpp @@ -229,7 +229,7 @@ QT_BEGIN_NAMESPACE /*! \fn template void QScopedPointer::swap(QScopedPointer &lhs, QScopedPointer &rhs) - \deprecated [6.1] Use \c std::unique_ptr instead; this function may let a pointer + \deprecated [6.2] Use \c std::unique_ptr instead; this function may let a pointer escape its scope. Swaps \a lhs with \a rhs. @@ -305,7 +305,7 @@ QT_BEGIN_NAMESPACE /*! \fn template void QScopedArrayPointer::swap(QScopedArrayPointer &other) - \deprecated [6.1] Use \c std::unique_ptr instead; this function may let a pointer + \deprecated [6.2] Use \c std::unique_ptr instead; this function may let a pointer escape its scope. Swap this pointer with \a other.