Mercurial > hg > svgui
comparison layer/ColourMapper.cpp @ 1265:6e724c81f18f
Convert some cerrs to SVCERRs. Apart from anything else, this makes MSVC2017 happy
| author | Chris Cannam |
|---|---|
| date | Thu, 01 Mar 2018 14:43:53 +0000 |
| parents | 73d43e410a6b |
| children | d79e21855aef |
comparison
equal
deleted
inserted
replaced
| 1264:5f68f5c74904 | 1265:6e724c81f18f |
|---|---|
| 65 m_map(map), | 65 m_map(map), |
| 66 m_min(min), | 66 m_min(min), |
| 67 m_max(max) | 67 m_max(max) |
| 68 { | 68 { |
| 69 if (m_min == m_max) { | 69 if (m_min == m_max) { |
| 70 cerr << "WARNING: ColourMapper: min == max (== " << m_min | 70 SVCERR << "WARNING: ColourMapper: min == max (== " << m_min |
| 71 << "), adjusting" << endl; | 71 << "), adjusting" << endl; |
| 72 m_max = m_min + 1; | 72 m_max = m_min + 1; |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
