mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-05 17:00:42 +08:00
catch polymorph exception by reference instead of by value.
This commit is contained in:
parent
cb8697f261
commit
b869947f9a
@ -161,7 +161,7 @@ void App::restore_window_pos(wxTopLevelWindow* window, const wxString& name ) {
|
||||
|
||||
window->Maximize(std::get<2>(tmp));
|
||||
}
|
||||
catch (std::out_of_range e) {
|
||||
catch (std::out_of_range& e) {
|
||||
// config was empty
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user