diff framework/VersionTester.cpp @ 293:068235cf5bf7

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 14:12:50 +0000
parents 8cb01cd2441d
children 3144af512ea3
line wrap: on
line diff
--- a/framework/VersionTester.cpp	Wed Oct 09 14:56:20 2013 +0100
+++ b/framework/VersionTester.cpp	Tue Nov 26 14:12:50 2013 +0000
@@ -34,7 +34,7 @@
     m_nm(new QNetworkAccessManager)
 {
     QUrl url(QString("http://%1/%2").arg(hostname).arg(versionFilePath));
-    std::cerr << "VersionTester: URL is " << url << std::endl;
+    cerr << "VersionTester: URL is " << url << endl;
     m_reply = m_nm->get(QNetworkRequest(url));
     connect(m_reply, SIGNAL(error(QNetworkReply::NetworkError)),
             this, SLOT(error(QNetworkReply::NetworkError)));
@@ -78,7 +78,7 @@
 void
 VersionTester::error(QNetworkReply::NetworkError)
 {
-    std::cerr << "VersionTester: error: " << m_reply->errorString() << std::endl;
+    cerr << "VersionTester: error: " << m_reply->errorString() << endl;
     m_httpFailed = true;
 }
 
@@ -93,7 +93,7 @@
 
     int status = r->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
     if (status / 100 != 2) {
-        std::cerr << "VersionTester: error: http status = " << status << std::endl;
+        cerr << "VersionTester: error: http status = " << status << endl;
         return;
     }