Mark QTimeZone's copy-constructor noexcept
This appears to have been overlooked. It's just the copy-construction of a QSharedDataPointer, which is declared noexcept, so transparently safe. Change-Id: I85e1f750be26dfa94d52dfc0b14efe9c1857d645 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
14278bb250
commit
256fbdeedd
@ -381,7 +381,7 @@ QTimeZone::QTimeZone(QTimeZonePrivate &dd)
|
|||||||
Copy constructor, copy \a other to this.
|
Copy constructor, copy \a other to this.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
QTimeZone::QTimeZone(const QTimeZone &other)
|
QTimeZone::QTimeZone(const QTimeZone &other) noexcept
|
||||||
: d(other.d)
|
: d(other.d)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public:
|
|||||||
QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name,
|
QTimeZone(const QByteArray &zoneId, int offsetSeconds, const QString &name,
|
||||||
const QString &abbreviation, QLocale::Territory territory = QLocale::AnyTerritory,
|
const QString &abbreviation, QLocale::Territory territory = QLocale::AnyTerritory,
|
||||||
const QString &comment = QString());
|
const QString &comment = QString());
|
||||||
QTimeZone(const QTimeZone &other);
|
QTimeZone(const QTimeZone &other) noexcept;
|
||||||
QTimeZone(QTimeZone &&other) noexcept;
|
QTimeZone(QTimeZone &&other) noexcept;
|
||||||
~QTimeZone();
|
~QTimeZone();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user