QMutex/FreeBSD: mark the functions as noexcept as it always has futex
See qfutex_freebsd_p.h. Pick-to: 6.8 6.9 Change-Id: I7e7bbb8387ae2e7b0c39fffd65c7b03e3a65a853 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
e48fe10e54
commit
c1bc98da02
@ -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