3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +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

@ -277,7 +277,7 @@ namespace datatype {
}
struct invalid_datatype {};
struct invalid_datatype : public std::exception {};
sort * plugin::mk_sort(decl_kind k, unsigned num_parameters, parameter const * parameters) {
try {

View file

@ -828,7 +828,7 @@ bool demodulator_match_subst::can_rewrite(expr* n, expr* lhs) {
*/
struct match_args_aux_proc {
substitution & m_subst;
struct no_match {};
struct no_match : public std::exception {};
match_args_aux_proc(substitution & s):m_subst(s) {}