mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 04:13:38 +00:00
Fix compilation error with gcc
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
dc91a754dd
commit
09945dc2cb
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ namespace datalog {
|
||||||
if (m_context.get_params().dump_aig().size()) {
|
if (m_context.get_params().dump_aig().size()) {
|
||||||
const char *filename = static_cast<const char*>(m_context.get_params().dump_aig().c_ptr());
|
const char *filename = static_cast<const char*>(m_context.get_params().dump_aig().c_ptr());
|
||||||
aig_exporter aig(m_context.get_rules(), get_context(), &m_table_facts);
|
aig_exporter aig(m_context.get_rules(), get_context(), &m_table_facts);
|
||||||
aig(std::ofstream(filename, std::ios_base::binary));
|
std::ofstream strm(filename, std::ios_base::binary);
|
||||||
|
aig(strm);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue