mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
pass std::function as const aliases
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
ba4765f16f
commit
7936df8e0b
2 changed files with 2 additions and 2 deletions
|
@ -2389,7 +2389,7 @@ bool lar_solver::inside_bounds(lpvar j, const impq& val) const {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool lar_solver::try_to_patch(lpvar j, const mpq& val, std::function<bool (lpvar)> blocker, std::function<void (lpvar)> report_change) {
|
||||
bool lar_solver::try_to_patch(lpvar j, const mpq& val, const std::function<bool (lpvar)>& blocker, const std::function<void (lpvar)>& report_change) {
|
||||
if (is_base(j)) {
|
||||
bool r = remove_from_basis(j);
|
||||
SASSERT(r);
|
||||
|
|
|
@ -641,7 +641,7 @@ public:
|
|||
void register_normalized_term(const lar_term&, lpvar);
|
||||
void deregister_normalized_term(const lar_term&);
|
||||
bool fetch_normalized_term_column(const lar_term& t, std::pair<mpq, lpvar>& ) const;
|
||||
bool try_to_patch(lpvar, const mpq&, std::function<bool (lpvar)> blocker, std::function<void (lpvar)> change_report);
|
||||
bool try_to_patch(lpvar, const mpq&, const std::function<bool (lpvar)>& blocker,const std::function<void (lpvar)>& change_report);
|
||||
bool inside_bounds(lpvar, const impq&) const;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue