3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

fix a few compiler warnings

This commit is contained in:
Nuno Lopes 2021-12-21 18:30:22 +00:00
parent 1d9aad6ea9
commit 94a2c91f39

View file

@ -14,7 +14,7 @@ namespace user_propagator {
class context_obj { class context_obj {
public: public:
virtual ~context_obj() {} virtual ~context_obj() = default;
}; };
typedef std::function<void(void*, callback*)> final_eh_t; typedef std::function<void(void*, callback*)> final_eh_t;
@ -33,11 +33,7 @@ namespace user_propagator {
enum kind_t { OP_USER_PROPAGATE }; enum kind_t { OP_USER_PROPAGATE };
virtual ~plugin() {} decl_plugin* mk_fresh() override { return alloc(plugin); }
virtual decl_plugin* mk_fresh() { return alloc(plugin); }
family_id get_family_id() const { return m_family_id; }
sort* mk_sort(decl_kind k, unsigned num_parameters, parameter const* parameters) override { sort* mk_sort(decl_kind k, unsigned num_parameters, parameter const* parameters) override {
UNREACHABLE(); UNREACHABLE();
@ -45,7 +41,7 @@ namespace user_propagator {
} }
func_decl* mk_func_decl(decl_kind k, unsigned num_parameters, parameter const* parameters, func_decl* mk_func_decl(decl_kind k, unsigned num_parameters, parameter const* parameters,
unsigned arity, sort* const* domain, sort* range) { unsigned arity, sort* const* domain, sort* range) override {
UNREACHABLE(); UNREACHABLE();
return nullptr; return nullptr;
} }