mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 17:22:15 +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
|
@ -26,7 +26,7 @@ Revision History:
|
|||
bool parse_dimacs(std::istream & s, std::ostream& err, sat::solver & solver);
|
||||
|
||||
namespace dimacs {
|
||||
struct lex_error {};
|
||||
struct lex_error : public std::exception {};
|
||||
|
||||
class stream_buffer {
|
||||
std::istream & m_stream;
|
||||
|
|
|
@ -90,7 +90,7 @@ namespace sat {
|
|||
|
||||
class solver : public solver_core {
|
||||
public:
|
||||
struct abort_solver {};
|
||||
struct abort_solver : public std::exception {};
|
||||
protected:
|
||||
enum search_state { s_sat, s_unsat };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue