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

move std::function to header of sat-drat - alignment?

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-08-23 20:20:51 -07:00
parent c6263587c3
commit 74c61f49b4
2 changed files with 2 additions and 1 deletions

View file

@ -35,6 +35,7 @@ namespace sat {
if (s.get_config().m_drat_binary)
std::swap(m_out, m_bout);
}
m_print_clause = nullptr;
}
drat::~drat() {

View file

@ -73,6 +73,7 @@ namespace sat {
watched_clause(clause* c, literal l1, literal l2):
m_clause(c), m_l1(l1), m_l2(l2) {}
};
std::function<void(unsigned, literal const*, status)> m_print_clause;
svector<watched_clause> m_watched_clauses;
typedef svector<unsigned> watch;
solver& s;
@ -92,7 +93,6 @@ namespace sat {
bool m_trim = false;
stats m_stats;
std::function<void(unsigned, literal const*, status)> m_print_clause;
void dump_activity();
void dump(unsigned n, literal const* c, status st);