Mercurial > hg > svcore
diff rdf/PluginRDFIndexer.cpp @ 686:b4a8d8221eaf debug-output
Remove most toStdString calls (no longer needed, with debug header)
author | Chris Cannam |
---|---|
date | Thu, 12 May 2011 17:31:24 +0100 |
parents | e340b2fb9471 |
children | 06f13a3b9e9e |
line wrap: on
line diff
--- a/rdf/PluginRDFIndexer.cpp Thu May 12 16:56:08 2011 +0100 +++ b/rdf/PluginRDFIndexer.cpp Thu May 12 17:31:24 2011 +0100 @@ -130,7 +130,7 @@ QString index = indices[i]; std::cerr << "PluginRDFIndexer::indexConfiguredURLs: index url is " - << index.toStdString() << std::endl; + << index << std::endl; CachedFile cf(index); if (!cf.isOK()) continue; @@ -186,7 +186,7 @@ // Because we may want to refer to this document again, we // cache it locally if it turns out to exist. - cerr << "PluginRDFIndexer::getIdForPluginURI: NOTE: Failed to find a local RDF document describing plugin <" << uri.toStdString() << ">: attempting to retrieve one remotely by guesswork" << endl; + cerr << "PluginRDFIndexer::getIdForPluginURI: NOTE: Failed to find a local RDF document describing plugin <" << uri << ">: attempting to retrieve one remotely by guesswork" << endl; QString baseUrl = QUrl(uri).toString(QUrl::RemoveFragment); @@ -241,7 +241,7 @@ loadPrefixes(); -// std::cerr << "PluginRDFIndexer::indexURL(" << urlString.toStdString() << ")" << std::endl; +// std::cerr << "PluginRDFIndexer::indexURL(" << urlString << ")" << std::endl; QMutexLocker locker(&m_mutex); @@ -288,7 +288,7 @@ if (!query.isOK()) { cerr << "ERROR: PluginRDFIndexer::reindex: ERROR: Failed to query plugins from model: " - << query.getErrorString().toStdString() << endl; + << query.getErrorString() << endl; return false; } @@ -309,13 +309,13 @@ if (identifier == "") { cerr << "PluginRDFIndexer::reindex: NOTE: No vamp:identifier for plugin <" - << pluginUri.toStdString() << ">" + << pluginUri << ">" << endl; continue; } if (soUri == "") { cerr << "PluginRDFIndexer::reindex: NOTE: No implementation library for plugin <" - << pluginUri.toStdString() << ">" + << pluginUri << ">" << endl; continue; } @@ -335,7 +335,7 @@ QString soname = sonameValue.value; if (soname == "") { cerr << "PluginRDFIndexer::reindex: NOTE: No identifier for library <" - << soUri.toStdString() << ">" + << soUri << ">" << endl; continue; } @@ -356,9 +356,9 @@ if (pluginUri != "") { if (m_uriToIdMap.find(pluginUri) != m_uriToIdMap.end()) { cerr << "PluginRDFIndexer::reindex: WARNING: Found multiple plugins with the same URI:" << endl; - cerr << " 1. Plugin id \"" << m_uriToIdMap[pluginUri].toStdString() << "\"" << endl; - cerr << " 2. Plugin id \"" << pluginId.toStdString() << "\"" << endl; - cerr << "both claim URI <" << pluginUri.toStdString() << ">" << endl; + cerr << " 1. Plugin id \"" << m_uriToIdMap[pluginUri] << "\"" << endl; + cerr << " 2. Plugin id \"" << pluginId << "\"" << endl; + cerr << "both claim URI <" << pluginUri << ">" << endl; } else { m_uriToIdMap[pluginUri] = pluginId; }