summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginehttprequest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginehttprequest.h')
-rw-r--r--src/core/api/qwebenginehttprequest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/qwebenginehttprequest.h b/src/core/api/qwebenginehttprequest.h
index b302217f2..65b2e8f98 100644
--- a/src/core/api/qwebenginehttprequest.h
+++ b/src/core/api/qwebenginehttprequest.h
@@ -73,7 +73,7 @@ public:
QWebEngineHttpRequest &operator=(const QWebEngineHttpRequest &other);
static QWebEngineHttpRequest postRequest(const QUrl &url, const QMap<QString, QString> &postData);
- void swap(QWebEngineHttpRequest &other) Q_DECL_NOTHROW { qSwap(d, other.d); }
+ void swap(QWebEngineHttpRequest &other) noexcept { d.swap(other.d); }
bool operator==(const QWebEngineHttpRequest &other) const;
inline bool operator!=(const QWebEngineHttpRequest &other) const { return !operator==(other); }