diff base/test/TestScaleTickIntervals.h @ 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 8b7d6c1e1ab7
children 48e9f538e6e9
line wrap: on
line diff
--- a/base/test/TestScaleTickIntervals.h	Mon Dec 11 09:28:40 2017 +0000
+++ b/base/test/TestScaleTickIntervals.h	Thu Mar 01 14:43:40 2018 +0000
@@ -32,16 +32,16 @@
     void printDiff(vector<ScaleTickIntervals::Tick> ticks,
 		   vector<ScaleTickIntervals::Tick> expected) {
 
-	cerr << "Have " << ticks.size() << " ticks, expected "
+    SVCERR << "Have " << ticks.size() << " ticks, expected "
 	     << expected.size() << endl;
 	for (int i = 0; i < int(ticks.size()); ++i) {
-            cerr << i << ": have " << ticks[i].value << " \""
+            SVCERR << i << ": have " << ticks[i].value << " \""
                  << ticks[i].label << "\", expected ";
 	    if (i < int(expected.size())) {
-                cerr << expected[i].value << " \"" << expected[i].label
+                SVCERR << expected[i].value << " \"" << expected[i].label
 		     << "\"" << endl;
             } else {
-                cerr << "(n/a)" << endl;
+                SVCERR << "(n/a)" << endl;
 	    }
 	}
     }