3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-04 18:30:24 +00:00

port to inherit from std::exception

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

View file

@ -130,7 +130,7 @@ public:
};
struct has_nlmul {
struct found {};
struct found : public std::exception {};
ast_manager& m;
arith_util a;
has_nlmul(ast_manager& m):m(m), a(m) {}
@ -185,7 +185,7 @@ probe * mk_arith_max_bw_probe() {
namespace {
struct is_non_qflira_functor {
struct found {};
struct found : public std::exception {};
ast_manager & m;
arith_util u;
bool m_int;
@ -240,7 +240,7 @@ struct is_non_qflira_functor {
};
struct is_non_qfauflira_functor {
struct found {};
struct found : public std::exception {};
ast_manager & m;
arith_util m_arith_util;
array_util m_array_util;
@ -427,7 +427,7 @@ probe * mk_is_mip_probe() {
namespace {
struct is_non_nira_functor {
struct found {};
struct found : public std::exception {};
ast_manager & m;
arith_util u;
bool m_int;
@ -572,7 +572,7 @@ static bool is_lira(goal const & g) {
struct is_non_qfufnra_functor {
struct found {};
struct found : public std::exception {};
ast_manager & m;
arith_util u;
bool m_has_nonlinear;