Skip to content

Commit

Permalink
move std::function to header of sat-drat - alignment?
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Aug 24, 2022
1 parent c626358 commit 74c61f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/sat/sat_drat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/sat/sat_drat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 74c61f4

Please sign in to comment.