diff options
Diffstat (limited to 'src/corelib/thread/qfutex_p.h')
-rw-r--r-- | src/corelib/thread/qfutex_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qfutex_p.h b/src/corelib/thread/qfutex_p.h index 9363cc02de..48f03f5ed0 100644 --- a/src/corelib/thread/qfutex_p.h +++ b/src/corelib/thread/qfutex_p.h @@ -24,7 +24,7 @@ namespace QtDummyFutex { constexpr inline bool futexAvailable() { return false; } template <typename Atomic> inline bool futexWait(Atomic &, typename Atomic::Type, int = 0) - { Q_UNREACHABLE(); return false; } + { Q_UNREACHABLE_RETURN(false); } template <typename Atomic> inline void futexWakeOne(Atomic &) { Q_UNREACHABLE(); } template <typename Atomic> inline void futexWakeAll(Atomic &) |