mirror of
https://github.com/Z3Prover/z3
synced 2026-05-21 01:19:34 +00:00
use std::exception as base class to z3_exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1957b4d991
commit
92065462b4
60 changed files with 109 additions and 111 deletions
|
|
@ -29,7 +29,7 @@ Revision History:
|
|||
|
||||
|
||||
class overflow_exception : public z3_exception {
|
||||
char const* msg() const override { return "checked_int64 overflow/underflow"; }
|
||||
char const* what() const override { return "checked_int64 overflow/underflow"; }
|
||||
};
|
||||
|
||||
template<bool CHECK>
|
||||
|
|
@ -364,4 +364,4 @@ inline checked_int64<CHECK> gcd(checked_int64<CHECK> const& a, checked_int64<CHE
|
|||
lasty = temp;
|
||||
}
|
||||
return _a;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue