This commit is contained in:
Laurent Perron
2025-01-14 17:29:27 +01:00
parent 4b26c84b48
commit 6a9d524c30

View File

@@ -691,8 +691,7 @@ extern template class GenericMinCostFlow<
struct MinCostFlow : public MinCostFlowBase {
template <typename = void>
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.");
}
};