diff rdf/PluginRDFDescription.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/PluginRDFDescription.cpp	Thu May 12 16:56:08 2011 +0100
+++ b/rdf/PluginRDFDescription.cpp	Thu May 12 17:31:24 2011 +0100
@@ -34,7 +34,7 @@
     m_pluginUri = indexer->getURIForPluginId(pluginId);
     if (m_pluginUri == "") {
         cerr << "PluginRDFDescription: WARNING: No RDF description available for plugin ID \""
-             << pluginId.toStdString() << "\"" << endl;
+             << pluginId << "\"" << endl;
     } else {
         // All the data we need should be in our RDF model already:
         // if it's not there, we don't know where to find it anyway
@@ -299,14 +299,14 @@
 
     if (!query.isOK()) {
         cerr << "ERROR: PluginRDFDescription::index: ERROR: Failed to query outputs for <"
-             << m_pluginUri.toStdString() << ">: "
-             << query.getErrorString().toStdString() << endl;
+             << m_pluginUri << ">: "
+             << query.getErrorString() << endl;
         return false;
     }
 
     if (results.empty()) {
         cerr << "ERROR: PluginRDFDescription::indexURL: NOTE: No outputs defined for <"
-             << m_pluginUri.toStdString() << ">" << endl;
+             << m_pluginUri << ">" << endl;
         return false;
     }