comparison layer/BoxLayer.cpp @ 1528:14c07e445365

Fix compiler warning
author Chris Cannam
date Mon, 07 Oct 2019 09:43:31 +0100
parents 2e94c268f7a0
children 37df1530519d
comparison
equal deleted inserted replaced
1527:88fcbc4d93dd 1528:14c07e445365
221 221
222 return true; 222 return true;
223 } 223 }
224 224
225 bool 225 bool
226 BoxLayer::adoptExtents(double min, double max, QString unit) 226 BoxLayer::adoptExtents(double /* min */, double /* max */, QString unit)
227 { 227 {
228 auto model = ModelById::getAs<BoxModel>(m_model); 228 auto model = ModelById::getAs<BoxModel>(m_model);
229 if (!model) return false; 229 if (!model) return false;
230 if (model->getScaleUnits() == "") { 230 if (model->getScaleUnits() == "") {
231 model->setScaleUnits(unit); 231 model->setScaleUnits(unit);