diff options
| -rw-r--r-- | src/corelib/tools/qscopedpointer.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp index 6416bce8dc1..f6eceb94e46 100644 --- a/src/corelib/tools/qscopedpointer.cpp +++ b/src/corelib/tools/qscopedpointer.cpp @@ -227,6 +227,15 @@ QT_BEGIN_NAMESPACE \sa isNull() */ +/*! + \fn template <typename T, typename Cleanup> void QScopedPointer<T, Cleanup>::swap(QScopedPointer &other) + + \deprecated [6.1] Use \c std::unique_ptr instead; this function may let a pointer + escape its scope. + + \memberswap{scoped pointer} +*/ + /*! \fn template <typename T, typename Cleanup> void QScopedPointer<T, Cleanup>::swap(QScopedPointer<T, Cleanup> &lhs, QScopedPointer<T, Cleanup> &rhs) \deprecated [6.2] Use \c std::unique_ptr instead; this function may let a pointer |
