3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-03 21:09:11 +00:00

remove default destructors & some default constructors

Another ~700 KB reduction in binary size
This commit is contained in:
Nuno Lopes 2024-09-04 22:30:23 +01:00
parent 0837e3b8e8
commit 8061765574
66 changed files with 22 additions and 131 deletions

View file

@ -78,8 +78,6 @@ namespace datalog {
m_descendants(DEFAULT_HASHTABLE_INITIAL_CAPACITY, m_hash, m_eq) {
}
~ddnf_node() {}
unsigned inc_ref() {
return ++m_refs;
}
@ -429,8 +427,6 @@ namespace datalog {
class ddnfs {
u_map<ddnf_mgr*> m_mgrs;
public:
ddnfs() {}
~ddnfs() {
u_map<ddnf_mgr*>::iterator it = m_mgrs.begin(), end = m_mgrs.end();
for (; it != end; ++it) {
@ -503,8 +499,6 @@ namespace datalog {
m_inner_ctx.updt_params(params);
}
~imp() {}
lbool query(expr* query) {
m_ctx.ensure_opened();
rule_set& old_rules = m_ctx.get_rules();