diff data/fileio/WavFileWriter.cpp @ 847:2d53205f70cd tonioni

Merge from default branch
author Chris Cannam
date Tue, 26 Nov 2013 14:37:01 +0000
parents e802e550a1f2
children 59e7fe1b1003
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.cpp	Fri Nov 22 10:37:28 2013 +0000
+++ b/data/fileio/WavFileWriter.cpp	Tue Nov 26 14:37:01 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);
             }