fix the config ref to be const

This commit is contained in:
Joseph Lenox 2018-07-16 21:54:12 -05:00
parent 2b741bc8a1
commit f739eb11af

View File

@ -1151,7 +1151,7 @@ void
PrintObject::generate_support_material()
{
auto* print { this->_print };
auto& config {this->config };
const auto& config { this->config };
//prereqs
this->_slice();
if (this->state.is_done(posSupportMaterial)) { return; }