Commit 188ef977 authored by Andreas Dedner's avatar Andreas Dedner
parents a4904a14 d0431081
Pipeline #12406 passed with stage
in 15 minutes and 6 seconds
......@@ -193,7 +193,7 @@ namespace Dune
{
return obj.attr( "_typeName" ).cast<std::string>();
}
catch(pybind11::error_already_set )
catch(const pybind11::error_already_set& )
{
return pybind11::str(obj);
}
......@@ -219,7 +219,7 @@ namespace Dune
{
return obj.attr( "_includes" ).cast<std::vector<std::string>>();
}
catch(pybind11::error_already_set )
catch(const pybind11::error_already_set& )
{
return {};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment