modelcheck: please gcc catch-value errors
* tests/ltsmin/modelcheck.cc: here.
This commit is contained in:
parent
a147fd65dc
commit
d2549334f9
1 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ static int checked_main()
|
||||||
{
|
{
|
||||||
res = ec->check();
|
res = ec->check();
|
||||||
}
|
}
|
||||||
catch (std::bad_alloc)
|
catch (std::bad_alloc&)
|
||||||
{
|
{
|
||||||
std::cerr << "Out of memory during emptiness check."
|
std::cerr << "Out of memory during emptiness check."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
@ -341,7 +341,7 @@ static int checked_main()
|
||||||
{
|
{
|
||||||
run = res->accepting_run();
|
run = res->accepting_run();
|
||||||
}
|
}
|
||||||
catch (std::bad_alloc)
|
catch (std::bad_alloc&)
|
||||||
{
|
{
|
||||||
std::cerr << "Out of memory while looking for counterexample."
|
std::cerr << "Out of memory while looking for counterexample."
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue