Skip to content

Commit

Permalink
Improved code
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jun 1, 2024
1 parent 7d2d8bf commit 9d27b9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/or-tools/constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,12 +445,12 @@ void init_constraint(Rice::Module& m) {
})
.define_method(
"_solution_integer_value",
[](Object self, CpSolverResponse& response, IntVar& x) {
[](Object self, const CpSolverResponse& response, IntVar x) {
return SolutionIntegerValue(response, x);
})
.define_method(
"_solution_boolean_value",
[](Object self, CpSolverResponse& response, BoolVar& x) {
[](Object self, const CpSolverResponse& response, BoolVar x) {
return SolutionBooleanValue(response, x);
});
}

0 comments on commit 9d27b9d

Please sign in to comment.