3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 02:00:22 +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

@ -35,7 +35,7 @@ Notes:
class pb2bv_tactic : public tactic {
public:
struct non_pb { expr* e; non_pb(expr* e) : e(e) {}};
struct non_pb : public std::exception { expr* e; non_pb(expr* e) : e(e) {}};
struct only_01_visitor {
typedef rational numeral;
@ -167,7 +167,7 @@ private:
enum constraint_kind { EQ, GE, LE };
struct failed {};
struct failed : public std::exception {};
struct visitor {
imp & m_owner;