summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/ssl/qsslkey.h')
-rw-r--r--src/network/ssl/qsslkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/ssl/qsslkey.h b/src/network/ssl/qsslkey.h
index 6de02b1e44..a865f20a51 100644
--- a/src/network/ssl/qsslkey.h
+++ b/src/network/ssl/qsslkey.h
@@ -72,12 +72,12 @@ public:
explicit QSslKey(Qt::HANDLE handle, QSsl::KeyType type = QSsl::PrivateKey);
QSslKey(const QSslKey &other);
#ifdef Q_COMPILER_RVALUE_REFS
- QSslKey &operator=(QSslKey &&other) Q_DECL_NOTHROW { swap(other); return *this; }
+ QSslKey &operator=(QSslKey &&other) noexcept { swap(other); return *this; }
#endif
QSslKey &operator=(const QSslKey &other);
~QSslKey();
- void swap(QSslKey &other) Q_DECL_NOTHROW { qSwap(d, other.d); }
+ void swap(QSslKey &other) noexcept { qSwap(d, other.d); }
bool isNull() const;
void clear();