Mark QTimeZone constructor nothrow.

Change-Id: Id5480807d25e49e78b79ffff144a9eead3fc9597
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Thiago Macieira 2016-05-01 19:22:40 -07:00
parent 857912b605
commit 0b2bc18efd
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz);
Create a null/invalid time zone instance.
*/
QTimeZone::QTimeZone()
QTimeZone::QTimeZone() Q_DECL_NOTHROW
: d(0)
{
}

View File

@ -74,7 +74,7 @@ public:
};
typedef QVector<OffsetData> OffsetDataList;
QTimeZone();
QTimeZone() Q_DECL_NOTHROW;
explicit QTimeZone(const QByteArray &ianaId);
explicit QTimeZone(int offsetSeconds);
/*implicit*/ QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name,