3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

fix build by including mk_pp

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-07 00:37:44 +01:00
parent bbab4153be
commit 7e4f532202

View file

@ -16,8 +16,9 @@ Author:
Notes: Notes:
--*/ --*/
#include "ast/expr_substitution.h"
#include "util/ref_util.h" #include "util/ref_util.h"
#include "ast/expr_substitution.h"
#include "ast/ast_pp.h"
typedef obj_map<expr, proof*> expr2proof; typedef obj_map<expr, proof*> expr2proof;
typedef obj_map<expr, expr_dependency*> expr2expr_dependency; typedef obj_map<expr, expr_dependency*> expr2expr_dependency;
@ -58,7 +59,7 @@ expr_substitution::~expr_substitution() {
std::ostream& expr_substitution::display(std::ostream& out) { std::ostream& expr_substitution::display(std::ostream& out) {
for (auto & kv : m_subst) { for (auto & kv : m_subst) {
out << expr_ref(kv.m_key, m()) << " |-> " << expr_ref(kv.m_value, m()) << "\n"; out << mk_pp(kv.m_key, m()) << " |-> " << mk_pp(kv.m_value, m()) << "\n";
} }
return out; return out;
} }