summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-27 13:52:11 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-27 13:52:11 (GMT)
commit1873a4b70dbc8a867ccc5b3cc0a2d9d85b208591 (patch)
tree3f0b06f5d5fd041a30c7d16207894d5d09880fdc /src/network
parent2f51b3c71068be522af06652d64b5673c7685a33 (diff)
downloadQt-1873a4b70dbc8a867ccc5b3cc0a2d9d85b208591.zip
Qt-1873a4b70dbc8a867ccc5b3cc0a2d9d85b208591.tar.gz
Qt-1873a4b70dbc8a867ccc5b3cc0a2d9d85b208591.tar.bz2
Fix compilation with Sun CC: const in POD parameters makes a difference
The compiler should have caught this error, but instead it accepted the QDisableNetworkReply constructor without the const. And that led to a linker error. Reviewed-by: Trust Me
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qnetworkreplyimpl_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreplyimpl_p.h b/src/network/access/qnetworkreplyimpl_p.h
index ec413cc..b4fbd1e 100644
--- a/src/network/access/qnetworkreplyimpl_p.h
+++ b/src/network/access/qnetworkreplyimpl_p.h
@@ -199,7 +199,7 @@ class QDisabledNetworkReply : public QNetworkReply
public:
QDisabledNetworkReply(QObject *parent, const QNetworkRequest &req,
- const QNetworkAccessManager::Operation op);
+ QNetworkAccessManager::Operation op);
~QDisabledNetworkReply();
void abort() { }