From 444331501f26f58a8bfbac93d9fb4a3f87336c8d Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Mon, 24 Nov 2025 08:29:59 +0100 Subject: [PATCH] routing: export filters update from google3 --- ortools/constraint_solver/routing_filters.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ortools/constraint_solver/routing_filters.cc b/ortools/constraint_solver/routing_filters.cc index 9e194bb6d0..8ec9f76568 100644 --- a/ortools/constraint_solver/routing_filters.cc +++ b/ortools/constraint_solver/routing_filters.cc @@ -172,6 +172,8 @@ class MaxActiveVehiclesFilter : public IntVarLocalSearchFilter { routing_model_(routing_model), is_active_(routing_model.vehicles(), false), active_vehicles_(0) {} + ~MaxActiveVehiclesFilter() override = default; + std::string DebugString() const override { return "MaxActiveVehiclesFilter"; } bool Accept(const Assignment* delta, const Assignment* /*deltadelta*/, int64_t /*objective_min*/, int64_t /*objective_max*/) override { const int64_t kUnassigned = -1;