Fix biuld on Linux a OSX

This commit is contained in:
YuSanka 2018-02-09 12:07:59 +01:00
parent abcfd5bad9
commit d18a200b0f

View file

@ -312,7 +312,7 @@ void BedShapePanel::load_stl()
model = Model::read_from_file(file_name);
}
catch (std::exception &e) {
std::string msg = _L("Error! ") + file_name + " : " + e.what() + ".";
auto msg = _L("Error! ") + file_name + " : " + e.what() + ".";
show_error(this, msg);
exit(1);
}