aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-17 20:57:21 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-25 08:18:09 +0800
commita5a61a0b7762bf5acdd01a4e6943d927b08f92ab (patch)
tree391e246bac959c9a74ce1c1b7f03042f9bbe41c2 /libsolidity/formal
parentae0959ae125ac2ae7084041a87c0736a8e7df6c6 (diff)
downloaddexon-solidity-a5a61a0b7762bf5acdd01a4e6943d927b08f92ab.tar.gz
dexon-solidity-a5a61a0b7762bf5acdd01a4e6943d927b08f92ab.tar.zst
dexon-solidity-a5a61a0b7762bf5acdd01a4e6943d927b08f92ab.zip
More consistent catch statements
Also take const& in all cases.
Diffstat (limited to 'libsolidity/formal')
-rw-r--r--libsolidity/formal/CVC4Interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/formal/CVC4Interface.cpp b/libsolidity/formal/CVC4Interface.cpp
index dba5823a..c6f2771d 100644
--- a/libsolidity/formal/CVC4Interface.cpp
+++ b/libsolidity/formal/CVC4Interface.cpp
@@ -115,7 +115,7 @@ pair<CheckResult, vector<string>> CVC4Interface::check(vector<Expression> const&
values.push_back(toString(m_solver.getValue(toCVC4Expr(e))));
}
}
- catch (CVC4::Exception & e)
+ catch (CVC4::Exception const&)
{
result = CheckResult::ERROR;
values.clear();