diff options
-rw-r--r-- | src/websockets/qwebsockethandshakeoptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsockethandshakeoptions.h b/src/websockets/qwebsockethandshakeoptions.h index 0991a76..376aba2 100644 --- a/src/websockets/qwebsockethandshakeoptions.h +++ b/src/websockets/qwebsockethandshakeoptions.h @@ -61,7 +61,7 @@ public: QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QWebSocketHandshakeOptions) QWebSocketHandshakeOptions &operator=(const QWebSocketHandshakeOptions &other); - void swap(QWebSocketHandshakeOptions &other) noexcept { qSwap(d, other.d); } + void swap(QWebSocketHandshakeOptions &other) noexcept { d.swap(other.d); } QStringList subprotocols() const; void setSubprotocols(const QStringList &protocols); |