summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/global/qcompilerdetection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index c48f3da84d..67baf42f8b 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -652,10 +652,10 @@
# define Q_UNLIKELY(x) (x)
#endif
#ifndef Q_ASSUME
-# define Q_ASSUME(expr)
+# define Q_ASSUME(expr) qt_noop()
#endif
#ifndef Q_UNREACHABLE
-# define Q_UNREACHABLE()
+# define Q_UNREACHABLE() qt_noop()
#endif
#ifndef Q_ALLOC_SIZE
# define Q_ALLOC_SIZE(x)