diff data/model/ReadOnlyWaveFileModel.cpp @ 1428:87ae75da6527

Convert some cerrs to SVCERRs. Apart from anything else, this makes MSVC2017 happy
author Chris Cannam
date Thu, 01 Mar 2018 14:43:40 +0000
parents 09751743647e
children 0925b37a3ed1
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.cpp	Mon Dec 11 09:28:40 2017 +0000
+++ b/data/model/ReadOnlyWaveFileModel.cpp	Thu Mar 01 14:43:40 2018 +0000
@@ -219,7 +219,7 @@
     int channels = getChannelCount();
 
     if (channel >= channels) {
-        cerr << "ERROR: WaveFileModel::getData: channel ("
+        SVCERR << "ERROR: WaveFileModel::getData: channel ("
              << channel << ") >= channel count (" << channels << ")"
              << endl;
         return {};
@@ -278,14 +278,14 @@
     int channels = getChannelCount();
 
     if (fromchannel > tochannel) {
-        cerr << "ERROR: ReadOnlyWaveFileModel::getData: fromchannel ("
+        SVCERR << "ERROR: ReadOnlyWaveFileModel::getData: fromchannel ("
                   << fromchannel << ") > tochannel (" << tochannel << ")"
                   << endl;
         return {};
     }
 
     if (tochannel >= channels) {
-        cerr << "ERROR: ReadOnlyWaveFileModel::getData: tochannel ("
+        SVCERR << "ERROR: ReadOnlyWaveFileModel::getData: tochannel ("
                   << tochannel << ") >= channel count (" << channels << ")"
                   << endl;
         return {};