diff options
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
-rw-r--r-- | src/corelib/tools/qsharedpointer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/tools/qsharedpointer.cpp b/src/corelib/tools/qsharedpointer.cpp index 7f1e9ed798..cc129595e4 100644 --- a/src/corelib/tools/qsharedpointer.cpp +++ b/src/corelib/tools/qsharedpointer.cpp @@ -503,11 +503,15 @@ */ /*! - \fn QSharedPointer::QSharedPointer(std::nullptr_t, Deleter) + \fn QSharedPointer::QSharedPointer(std::nullptr_t, Deleter deleter) \since 5.8 Creates a QSharedPointer that is null. This is equivalent to the QSharedPointer default constructor. + + The \a deleter parameter specifies the custom deleter for this + object. The custom deleter is called, instead of the operator + delete(), when the strong reference count drops to 0. */ /*! |