3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-10 13:10:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-02 15:04:05 -07:00
parent f98b94bdbc
commit 896a1b2048
17 changed files with 59 additions and 56 deletions

View file

@ -83,9 +83,9 @@ class default_expr_replacer : public expr_replacer {
default_expr_replacer_cfg m_cfg;
rewriter_tpl<default_expr_replacer_cfg> m_replacer;
public:
default_expr_replacer(ast_manager & m):
default_expr_replacer(ast_manager & m, bool proofs_enabled):
m_cfg(m),
m_replacer(m, m.proofs_enabled(), m_cfg) {
m_replacer(m, m.proofs_enabled() && proofs_enabled, m_cfg) {
}
ast_manager & m() const override { return m_replacer.m(); }
@ -115,8 +115,8 @@ public:
}
};
expr_replacer * mk_default_expr_replacer(ast_manager & m) {
return alloc(default_expr_replacer, m);
expr_replacer * mk_default_expr_replacer(ast_manager & m, bool proofs_allowed) {
return alloc(default_expr_replacer, m, proofs_allowed);
}
/**