QCoreApplication: mark instance() as noexcept

QEventLoopLocker's own noexcept depends on this.

Task-number: QTBUG-114793
Pick-to: 6.6
Change-Id: If1ba3aaa2f0bbb6334d52dd44db84d138890f4bb
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2023-07-03 08:06:31 +02:00
parent f71f0312d6
commit bd40a67aab

View File

@ -88,7 +88,7 @@ public:
static void setSetuidAllowed(bool allow);
static bool isSetuidAllowed();
static QCoreApplication *instance() { return self; }
static QCoreApplication *instance() noexcept { return self; }
#ifndef QT_NO_QOBJECT
static int exec();