mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
inherit more exceptions from std::exception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a38bf3e22f
commit
abd16740ce
11 changed files with 12 additions and 12 deletions
|
@ -277,7 +277,7 @@ namespace datatype {
|
|||
}
|
||||
|
||||
|
||||
struct invalid_datatype {};
|
||||
struct invalid_datatype : public std::exception {};
|
||||
|
||||
sort * plugin::mk_sort(decl_kind k, unsigned num_parameters, parameter const * parameters) {
|
||||
try {
|
||||
|
|
|
@ -828,7 +828,7 @@ bool demodulator_match_subst::can_rewrite(expr* n, expr* lhs) {
|
|||
*/
|
||||
struct match_args_aux_proc {
|
||||
substitution & m_subst;
|
||||
struct no_match {};
|
||||
struct no_match : public std::exception {};
|
||||
|
||||
match_args_aux_proc(substitution & s):m_subst(s) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue