Skip to content
Snippets Groups Projects
Commit 7c9b36af authored by Timo Koch's avatar Timo Koch
Browse files

[test] Catch error by reference

parent 44a0b570
No related tags found
No related merge requests found
Pipeline #11088 passed
......@@ -55,7 +55,7 @@ int main (int argc, char *argv[]) try
// //////////////////////////////////
// Error handler
// /////////////////////////////////
catch (Dune::Exception e) {
catch (const Dune::Exception& e) {
std::cout << e << std::endl;
return 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment