From fb7e9bef8db619c98ff0becca4a4f15663173b97 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Wed, 16 Mar 2022 17:52:17 +0100 Subject: [PATCH] QMutexLocker: code tidies Improve the docs for the recently added move operations. Change-Id: Iae17f5289d30faab4aaaec14a27036f7a03129ab Reviewed-by: Thiago Macieira --- src/corelib/thread/qmutex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp index 94e0fd25b16..ace0e6c0332 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() */