3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

pass std::function as const aliases

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-30 12:20:47 -07:00
parent ba4765f16f
commit 7936df8e0b
2 changed files with 2 additions and 2 deletions

View file

@ -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);