Mark QTimeZone constructor nothrow.
Change-Id: Id5480807d25e49e78b79ffff144a9eead3fc9597 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
857912b605
commit
0b2bc18efd
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user