From b513292d1a0c7e0db7faa5261e0bedab2efaffab Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Thu, 6 Mar 2025 11:48:48 +0100 Subject: [PATCH] nqueens.cc fixup --- examples/cpp/nqueens.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cpp/nqueens.cc b/examples/cpp/nqueens.cc index ff2a0ae1d0..a6ec13fa00 100644 --- a/examples/cpp/nqueens.cc +++ b/examples/cpp/nqueens.cc @@ -29,6 +29,7 @@ #include "ortools/base/logging.h" #include "ortools/base/map_util.h" #include "ortools/base/types.h" +#include "ortools/constraint_solver/constraint_solver.h" #include "ortools/constraint_solver/constraint_solveri.h" ABSL_FLAG(bool, print, false, "If true, print one of the solution."); @@ -39,7 +40,6 @@ ABSL_FLAG( int, size, 0, "Size of the problem. If equal to 0, will test several increasing sizes."); ABSL_FLAG(bool, use_symmetry, false, "Use Symmetry Breaking methods"); -ABSL_DECLARE_FLAG(bool, cp_disable_solve); static const int kNumSolutions[] = { 1, 0, 0, 2, 10, 4, 40, 92, 352, 724, 2680, 14200, 73712, 365596, 2279184};