diff main/Surveyer.cpp @ 665:17fe7e0c23a1

Drop std:: from cerr, cout, endl; drop toStdString etc; build fix
author Chris Cannam
date Tue, 26 Nov 2013 14:17:48 +0000
parents 55efa5a18814
children 7707d9175d55
line wrap: on
line diff
--- a/main/Surveyer.cpp	Tue Nov 26 13:14:33 2013 +0000
+++ b/main/Surveyer.cpp	Tue Nov 26 14:17:48 2013 +0000
@@ -54,7 +54,7 @@
         // whether they want to or not) set the countdown to -1 so
         // that it is never offered again.
         QUrl url(QString("http://%1/%2").arg(m_hostname).arg(m_testPath));
-        std::cerr << "Surveyer: Test URL is " << url << std::endl;
+        cerr << "Surveyer: Test URL is " << url << endl;
         m_reply = m_nm->get(QNetworkRequest(url));
         connect(m_reply, SIGNAL(error(QNetworkReply::NetworkError)),
                 this, SLOT(error(QNetworkReply::NetworkError)));
@@ -77,7 +77,7 @@
 void
 Surveyer::error(QNetworkReply::NetworkError)
 {
-    std::cerr << "Surveyer: error: " << m_reply->errorString() << std::endl;
+    cerr << "Surveyer: error: " << m_reply->errorString() << endl;
     m_httpFailed = true;
 }