diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-03-16 17:52:17 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2022-03-18 12:32:28 +0100 |
commit | fb7e9bef8db619c98ff0becca4a4f15663173b97 (patch) | |
tree | 8c922e66461705089683df54447d11b1295608af /src | |
parent | a5ee74754db3dcd8adc30073dd685e23acda23e8 (diff) |
QMutexLocker: code tidies
Improve the docs for the recently added move operations.
Change-Id: Iae17f5289d30faab4aaaec14a27036f7a03129ab
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/thread/qmutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp index 94e0fd25b1..ace0e6c033 100644 --- a/src/corelib/thread/qmutex.cpp +++ b/src/corelib/thread/qmutex.cpp @@ -491,7 +491,7 @@ void QRecursiveMutex::unlock() noexcept Move-constructs a QMutexLocker from \a other. The mutex and the state of \a other is transferred to the newly constructed instance. - After the move, \a other will no longer be managing its mutex. + After the move, \a other will no longer be managing any mutex. \sa QMutex::lock() */ @@ -504,7 +504,7 @@ void QRecursiveMutex::unlock() noexcept was holding a locked mutex before the assignment, the mutex will be unlocked. The mutex and the state of \a other is then transferred to this QMutexLocker. After the move, \a other will no longer be - managing its mutex. + managing any mutex. \sa QMutex::lock() */ |