Mercurial > hg > svcore
diff data/fileio/AudioFileReaderFactory.cpp @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | f0558e69a074 |
children | f5cd33909744 |
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.cpp Tue Nov 26 11:16:37 2013 +0000 +++ b/data/fileio/AudioFileReaderFactory.cpp Tue Nov 26 13:35:08 2013 +0000 @@ -80,7 +80,7 @@ SVDEBUG << "AudioFileReaderFactory::createReader(\"" << source.getLocation() << "\"): Requested rate: " << targetRate << endl; if (!source.isOK()) { - std::cerr << "AudioFileReaderFactory::createReader(\"" << source.getLocation() << "\": Failed to retrieve source (transmission error?): " << source.getErrorString() << std::endl; + cerr << "AudioFileReaderFactory::createReader(\"" << source.getLocation() << "\": Failed to retrieve source (transmission error?): " << source.getErrorString() << endl; return 0; } @@ -315,20 +315,20 @@ SVDEBUG << "AudioFileReaderFactory: Reader is OK" << endl; return reader; } - std::cerr << "AudioFileReaderFactory: Preferred reader for " + cerr << "AudioFileReaderFactory: Preferred reader for " << "url \"" << source.getLocation().toStdString() << "\" (content type \"" << source.getContentType() << "\") failed"; if (reader->getError() != "") { - std::cerr << ": \"" << reader->getError() << "\""; + cerr << ": \"" << reader->getError() << "\""; } - std::cerr << std::endl; + cerr << endl; delete reader; reader = 0; } - std::cerr << "AudioFileReaderFactory: No reader" << std::endl; + cerr << "AudioFileReaderFactory: No reader" << endl; return reader; }