mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
remove default destructors
This commit is contained in:
parent
b170f10148
commit
3586b613f7
95 changed files with 25 additions and 259 deletions
|
@ -28,9 +28,6 @@ arith_factory::arith_factory(ast_manager & m):
|
|||
m_util(m) {
|
||||
}
|
||||
|
||||
arith_factory::~arith_factory() {
|
||||
}
|
||||
|
||||
app * arith_factory::mk_num_value(rational const & val, bool is_int) {
|
||||
return numeral_factory::mk_value(val, is_int ? m_util.mk_int() : m_util.mk_real());
|
||||
}
|
||||
|
@ -40,9 +37,6 @@ bv_factory::bv_factory(ast_manager & m):
|
|||
m_util(m) {
|
||||
}
|
||||
|
||||
bv_factory::~bv_factory() {
|
||||
}
|
||||
|
||||
app * bv_factory::mk_value_core(rational const & val, sort * s) {
|
||||
return m_util.mk_numeral(val, s);
|
||||
}
|
||||
|
|
|
@ -34,7 +34,6 @@ class arith_factory : public numeral_factory {
|
|||
|
||||
public:
|
||||
arith_factory(ast_manager & m);
|
||||
~arith_factory() override;
|
||||
|
||||
app * mk_num_value(rational const & val, bool is_int);
|
||||
};
|
||||
|
@ -46,7 +45,6 @@ class bv_factory : public numeral_factory {
|
|||
|
||||
public:
|
||||
bv_factory(ast_manager & m);
|
||||
~bv_factory() override;
|
||||
|
||||
app * mk_num_value(rational const & val, unsigned bv_size);
|
||||
};
|
||||
|
|
|
@ -25,9 +25,6 @@ value_factory::value_factory(ast_manager & m, family_id fid):
|
|||
m_fid(fid) {
|
||||
}
|
||||
|
||||
value_factory::~value_factory() {
|
||||
}
|
||||
|
||||
basic_factory::basic_factory(ast_manager & m, unsigned seed):
|
||||
value_factory(m, m.get_basic_family_id()), m_rand(seed) {
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ protected:
|
|||
public:
|
||||
value_factory(ast_manager & m, family_id fid);
|
||||
|
||||
virtual ~value_factory();
|
||||
virtual ~value_factory() = default;
|
||||
|
||||
/**
|
||||
\brief Return some value of the given sort. The result is always different from zero.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue