QMutex/FreeBSD: mark the functions as noexcept as it always has futex
See qfutex_freebsd_p.h. Change-Id: I7e7bbb8387ae2e7b0c39fffd65c7b03e3a65a853 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c1bc98da02f0f9335e10f45cc5df4c7e3afcee31) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit ff303c5cd9f0ea0bea063775795157c523e74ef9)
This commit is contained in:
parent
4a0bd93bab
commit
f8bea0b246
@ -15,7 +15,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
#if QT_CONFIG(thread) || defined(Q_QDOC)
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) // these platforms use futex
|
||||
#if defined(Q_OS_FREEBSD) || defined(Q_OS_LINUX) || defined(Q_OS_WIN) // these platforms use futex
|
||||
# define QT_MUTEX_LOCK_NOEXCEPT noexcept
|
||||
#else
|
||||
# define QT_MUTEX_LOCK_NOEXCEPT
|
||||
|
Loading…
x
Reference in New Issue
Block a user