mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
More consistent catch statements
Also take const& in all cases.
This commit is contained in:
parent
ae0959ae12
commit
a5a61a0b77
@ -115,7 +115,7 @@ pair<CheckResult, vector<string>> CVC4Interface::check(vector<Expression> const&
|
|||||||
values.push_back(toString(m_solver.getValue(toCVC4Expr(e))));
|
values.push_back(toString(m_solver.getValue(toCVC4Expr(e))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (CVC4::Exception & e)
|
catch (CVC4::Exception const&)
|
||||||
{
|
{
|
||||||
result = CheckResult::ERROR;
|
result = CheckResult::ERROR;
|
||||||
values.clear();
|
values.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user