comparison transform/CSVFeatureWriter.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 4a2bc07ec0fb
children 70e172e6cc59
comparison
equal deleted inserted replaced
1427:622d193a00dc 1428:87ae75da6527
115 } else if (i->first == "omit-filename") { 115 } else if (i->first == "omit-filename") {
116 m_omitFilename = true; 116 m_omitFilename = true;
117 } else if (i->first == "digits") { 117 } else if (i->first == "digits") {
118 int digits = atoi(i->second.c_str()); 118 int digits = atoi(i->second.c_str());
119 if (digits <= 0 || digits > 100) { 119 if (digits <= 0 || digits > 100) {
120 cerr << "CSVFeatureWriter: ERROR: Invalid or out-of-range value for number of significant digits: " << i->second << endl; 120 SVCERR << "CSVFeatureWriter: ERROR: Invalid or out-of-range value for number of significant digits: " << i->second << endl;
121 cerr << "CSVFeatureWriter: NOTE: Continuing with default settings" << endl; 121 SVCERR << "CSVFeatureWriter: NOTE: Continuing with default settings" << endl;
122 } else { 122 } else {
123 m_digits = digits; 123 m_digits = digits;
124 } 124 }
125 } 125 }
126 } 126 }