From 6a9d524c30e3eef09f650d5fffcdf41578e906ca Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Tue, 14 Jan 2025 17:29:27 +0100 Subject: [PATCH] fix --- ortools/graph/min_cost_flow.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ortools/graph/min_cost_flow.h b/ortools/graph/min_cost_flow.h index 2e71d6f34d..edce7a179c 100644 --- a/ortools/graph/min_cost_flow.h +++ b/ortools/graph/min_cost_flow.h @@ -691,8 +691,7 @@ extern template class GenericMinCostFlow< struct MinCostFlow : public MinCostFlowBase { template MinCostFlow() { - static_assert(false, - "MinCostFlow is deprecated. Use `SimpleMinCostFlow` or " + LOG(FATAL) << "MinCostFlow is deprecated. Use `SimpleMinCostFlow` or " "`GenericMinCostFlow` with a specific graph type instead."); } };