[libcalamares] Avoid object-slice

g++ warns that error_already_set is polymorphic, and we're catching
by-value (although we don't use that value). Avoid that.
main
Adriaan de Groot 6 years ago
parent 84936a95fc
commit 7fa1c1b787

@ -284,7 +284,7 @@ PythonJob::exec()
return JobResult::error( message, description );
}
}
catch ( bp::error_already_set )
catch ( bp::error_already_set& )
{
QString msg;
if ( PyErr_Occurred() )

Loading…
Cancel
Save