Fixes google/or-tools#1979
This commit is contained in:
@@ -274,7 +274,7 @@ util::StatusOr<MPSolutionResponse> GurobiSolveProto(
|
||||
if (gurobi) GRBfreeenv(gurobi);
|
||||
return util::OkStatus();
|
||||
};
|
||||
auto gurobi_deleter = gtl::MakeCleanup([delete_gurobi_objects]() {
|
||||
auto gurobi_deleter = absl::MakeCleanup([delete_gurobi_objects]() {
|
||||
const util::Status deleter_status = delete_gurobi_objects();
|
||||
LOG_IF(DFATAL, !deleter_status.ok()) << deleter_status;
|
||||
});
|
||||
|
||||
@@ -768,7 +768,7 @@ util::StatusOr<MPSolutionResponse> ScipSolveProto(
|
||||
return util::OkStatus();
|
||||
};
|
||||
|
||||
auto scip_deleter = gtl::MakeCleanup([delete_scip_objects]() {
|
||||
auto scip_deleter = absl::MakeCleanup([delete_scip_objects]() {
|
||||
const util::Status deleter_status = delete_scip_objects();
|
||||
LOG_IF(DFATAL, !deleter_status.ok()) << deleter_status;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user