summaryrefslogtreecommitdiff
path: root/src/websockets
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-10-19 14:39:49 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-10-19 14:40:18 +0200
commit10f80ad76fabe803cc8e16566a7aee383259a224 (patch)
tree0c41392d6cbf88927864413fd7dd6b820d849396 /src/websockets
parentbc7285440308291c17fa2bf94581538f61bc29b3 (diff)
downloadqtwebsockets-10f80ad76fabe803cc8e16566a7aee383259a224.tar.gz
Remove const from return value of operator =
Change-Id: I062756f8b337afee0b4f04bd6631d83bc560a607 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets')
-rw-r--r--src/websockets/qwebsocketframe_p.cpp2
-rw-r--r--src/websockets/qwebsocketframe_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/websockets/qwebsocketframe_p.cpp b/src/websockets/qwebsocketframe_p.cpp
index 577a894..037ae38 100644
--- a/src/websockets/qwebsocketframe_p.cpp
+++ b/src/websockets/qwebsocketframe_p.cpp
@@ -74,7 +74,7 @@ QWebSocketFrame::QWebSocketFrame(const QWebSocketFrame &other) :
/*!
\internal
*/
-const QWebSocketFrame &QWebSocketFrame::operator =(const QWebSocketFrame &other)
+QWebSocketFrame &QWebSocketFrame::operator =(const QWebSocketFrame &other)
{
m_closeCode = other.m_closeCode;
m_closeReason = other.m_closeReason;
diff --git a/src/websockets/qwebsocketframe_p.h b/src/websockets/qwebsocketframe_p.h
index e1c9e3e..1dc9f1f 100644
--- a/src/websockets/qwebsocketframe_p.h
+++ b/src/websockets/qwebsocketframe_p.h
@@ -40,7 +40,7 @@ public:
QWebSocketFrame();
QWebSocketFrame(const QWebSocketFrame &other);
- const QWebSocketFrame &operator =(const QWebSocketFrame &other);
+ QWebSocketFrame &operator =(const QWebSocketFrame &other);
QWebSocketProtocol::CloseCode closeCode() const;
QString closeReason() const;