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:
parent
407bad3693
commit
a38bf3e22f
7 changed files with 17 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue