ltsmin: catch exceptions by reference
* spot/ltsmin/ltsmin.cc, tests/ltsmin/modelcheck.cc: Here.
This commit is contained in:
parent
05abed6d2f
commit
0a21a4c87e
2 changed files with 4 additions and 4 deletions
|
|
@ -1112,7 +1112,7 @@ namespace spot
|
|||
{
|
||||
convert_aps(to_observe, iface, dict, dead, *ps);
|
||||
}
|
||||
catch (std::runtime_error)
|
||||
catch (const std::runtime_error&)
|
||||
{
|
||||
delete ps;
|
||||
dict->unregister_all_my_variables(iface.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue