Unconditionally use Q_NORETURN for qAbort()
The exception for MSVC was probably added due to similar logic in qlogging.h, but in this case, qAbort never returns also with MSVC. Change-Id: Ica2155c34d4b32b20af5b1fcb5af35bb3ff6f668 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
0de3a17394
commit
e21c4be5d6
|
|
@ -54,10 +54,7 @@
|
|||
#if defined(__cplusplus)
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if !defined(Q_CC_MSVC) || defined(Q_CC_CLANG)
|
||||
Q_NORETURN
|
||||
#endif
|
||||
Q_CORE_EXPORT void qAbort();
|
||||
Q_NORETURN Q_CORE_EXPORT void qAbort();
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue