summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qwebsockethandshakeoptions.cpp2
-rw-r--r--src/websockets/qwebsockethandshakeoptions.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsockethandshakeoptions.cpp b/src/websockets/qwebsockethandshakeoptions.cpp
index 0d90a92..cef92c5 100644
--- a/src/websockets/qwebsockethandshakeoptions.cpp
+++ b/src/websockets/qwebsockethandshakeoptions.cpp
@@ -76,7 +76,7 @@ QWebSocketHandshakeOptions::QWebSocketHandshakeOptions(const QWebSocketHandshake
/*!
\brief Constructs a QWebSocketHandshakeOptions that is moved from \a other.
*/
-QWebSocketHandshakeOptions::QWebSocketHandshakeOptions(QWebSocketHandshakeOptions &&other)
+QWebSocketHandshakeOptions::QWebSocketHandshakeOptions(QWebSocketHandshakeOptions &&other) noexcept
: d(std::move(other.d))
{
}
diff --git a/src/websockets/qwebsockethandshakeoptions.h b/src/websockets/qwebsockethandshakeoptions.h
index 82eaec7..0991a76 100644
--- a/src/websockets/qwebsockethandshakeoptions.h
+++ b/src/websockets/qwebsockethandshakeoptions.h
@@ -55,7 +55,7 @@ class Q_WEBSOCKETS_EXPORT QWebSocketHandshakeOptions
public:
QWebSocketHandshakeOptions();
QWebSocketHandshakeOptions(const QWebSocketHandshakeOptions &other);
- QWebSocketHandshakeOptions(QWebSocketHandshakeOptions &&other);
+ QWebSocketHandshakeOptions(QWebSocketHandshakeOptions &&other) noexcept;
~QWebSocketHandshakeOptions();
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QWebSocketHandshakeOptions)