catch polymorph exception by reference instead of by value.

This commit is contained in:
Joseph Lenox 2018-11-11 00:18:44 -06:00 committed by Joseph Lenox
parent cb8697f261
commit b869947f9a

View File

@ -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
}
}