diff options
-rw-r--r-- | src/corelib/thread/qexception.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/thread/qexception.cpp b/src/corelib/thread/qexception.cpp index 550bdc8fe4..01bbe70c88 100644 --- a/src/corelib/thread/qexception.cpp +++ b/src/corelib/thread/qexception.cpp @@ -108,6 +108,9 @@ QT_BEGIN_NAMESPACE */ QException::~QException() +#ifndef Q_COMPILER_NOEXCEPT + throw() +#endif { // must stay empty until ### Qt 6 } @@ -124,6 +127,9 @@ QException *QException::clone() const } QUnhandledException::~QUnhandledException() +#ifndef Q_COMPILER_NOEXCEPT + throw() +#endif { // must stay empty until ### Qt 6 } |