summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginehistory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginehistory.h')
-rw-r--r--src/core/api/qwebenginehistory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/api/qwebenginehistory.h b/src/core/api/qwebenginehistory.h
index 6afb8d8c1..2e5dfcd9a 100644
--- a/src/core/api/qwebenginehistory.h
+++ b/src/core/api/qwebenginehistory.h
@@ -74,7 +74,7 @@ public:
bool isValid() const;
- void swap(QWebEngineHistoryItem &other) Q_DECL_NOTHROW { qSwap(d, other.d); }
+ void swap(QWebEngineHistoryItem &other) noexcept { d.swap(other.d); }
private:
QWebEngineHistoryItem(QWebEngineHistoryItemPrivate *priv);