diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2014-01-04 13:56:01 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-04 14:16:18 +0100 |
commit | ac4ae5a8950a1756a5bd937d33e543a2ed7c8f25 (patch) | |
tree | ad5017f3621fd96fdaf82a3b869ab8042053dc50 /src/websockets/qwebsocketcorsauthenticator.cpp | |
parent | 2ae6f14704263659896e859199d2ca565e8f958a (diff) | |
download | qtwebsockets-ac4ae5a8950a1756a5bd937d33e543a2ed7c8f25.tar.gz |
Adapt to Qt coding style
Change-Id: I137ac180b19228e0a5683e21ca87e3fe2db9f97b
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocketcorsauthenticator.cpp')
-rw-r--r-- | src/websockets/qwebsocketcorsauthenticator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/websockets/qwebsocketcorsauthenticator.cpp b/src/websockets/qwebsocketcorsauthenticator.cpp index dd0c0ec..72ccf7d 100644 --- a/src/websockets/qwebsocketcorsauthenticator.cpp +++ b/src/websockets/qwebsocketcorsauthenticator.cpp @@ -143,9 +143,8 @@ QWebSocketCorsAuthenticator &QWebSocketCorsAuthenticator::operator =(QWebSocketC */ void QWebSocketCorsAuthenticator::swap(QWebSocketCorsAuthenticator &other) { - if (&other != this) { + if (&other != this) qSwap(d_ptr, other.d_ptr); - } } /*! |