3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

inherit more exceptions from std::exception

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-11-04 13:52:14 -08:00
parent a38bf3e22f
commit abd16740ce
11 changed files with 12 additions and 12 deletions

View file

@ -32,7 +32,7 @@ Revision History:
class fix_dl_var_tactic : public tactic {
struct is_target {
struct failed {};
struct failed : public std::exception {};
ast_manager & m;
arith_util & m_util;
expr_fast_mark1 * m_visited = nullptr;

View file

@ -86,7 +86,7 @@ class lia2pb_tactic : public tactic {
return is_target_core(n, u) && u > rational(1);
}
struct failed {};
struct failed : public std::exception {};
struct visitor {
imp & m_owner;

View file

@ -338,7 +338,7 @@ class bv1_blaster_tactic : public tactic {
m_rw(m, p) {
}
struct not_target {};
struct not_target : public std::exception {};
struct visitor {
family_id m_bv_fid;