Mercurial > hg > svcore
diff data/fileio/WavFileWriter.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 | 1424aa29ae95 |
children | 59e7fe1b1003 |
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.cpp Tue Nov 26 11:16:37 2013 +0000 +++ b/data/fileio/WavFileWriter.cpp Tue Nov 26 13:35:08 2013 +0000 @@ -45,16 +45,16 @@ m_file = sf_open(m_temp->getTemporaryFilename().toLocal8Bit(), SFM_WRITE, &fileInfo); if (!m_file) { - std::cerr << "WavFileWriter: Failed to open file (" - << sf_strerror(m_file) << ")" << std::endl; + cerr << "WavFileWriter: Failed to open file (" + << sf_strerror(m_file) << ")" << endl; m_error = QString("Failed to open audio file '%1' for writing") .arg(m_temp->getTemporaryFilename()); } } else { m_file = sf_open(m_path.toLocal8Bit(), SFM_WRITE, &fileInfo); if (!m_file) { - std::cerr << "WavFileWriter: Failed to open file (" - << sf_strerror(m_file) << ")" << std::endl; + cerr << "WavFileWriter: Failed to open file (" + << sf_strerror(m_file) << ")" << endl; m_error = QString("Failed to open audio file '%1' for writing") .arg(m_path); }