mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
As of GCC8, the throw by value, catch by reference idiom is enforced via -Wcatch-value
This commit is contained in:
parent
5134c16833
commit
f02d031d11
7 changed files with 19 additions and 19 deletions
|
@ -1522,7 +1522,7 @@ public:
|
|||
}
|
||||
SASSERT(ref_count(r) >= 1);
|
||||
}
|
||||
catch (aig_exception ex) {
|
||||
catch (const aig_exception & ex) {
|
||||
dec_ref(r);
|
||||
throw ex;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue