3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

Fix compilation error with gcc

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-05-23 08:07:19 -07:00
parent dc91a754dd
commit 09945dc2cb

View file

@ -131,7 +131,8 @@ namespace datalog {
if (m_context.get_params().dump_aig().size()) {
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(std::ofstream(filename, std::ios_base::binary));
std::ofstream strm(filename, std::ios_base::binary);
aig(strm);
exit(0);
}