Skip to content

Commit 9e17f6e

Browse files
committed
msvc: fix linear_solver/
1 parent f16e288 commit 9e17f6e

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

ortools/linear_solver/linear_solver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@
165165
#include "ortools/port/proto_utils.h"
166166
#include "ortools/util/lazy_mutable_copy.h"
167167

168-
ABSL_DECLARE_FLAG(bool, linear_solver_enable_verbose_output);
169-
ABSL_DECLARE_FLAG(bool, log_verification_errors);
170-
ABSL_DECLARE_FLAG(bool, verify_solution);
168+
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, linear_solver_enable_verbose_output);
169+
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, log_verification_errors);
170+
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, verify_solution);
171171

172172
namespace operations_research {
173173

ortools/linear_solver/solve.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,6 @@ ABSL_FLAG(std::string, sol_file, "",
120120
ABSL_FLAG(std::string, dump_mps, "",
121121
"If non-empty, dumps the model in mps format there.");
122122

123-
ABSL_DECLARE_FLAG(bool, verify_solution); // Defined in ./linear_solver.cc
124-
ABSL_DECLARE_FLAG(bool,
125-
log_verification_errors); // Defined in ./linear_solver.cc
126-
ABSL_DECLARE_FLAG(
127-
bool,
128-
linear_solver_enable_verbose_output); // Defined in ./linear_solver.cc
129-
130123
static const char kUsageStr[] =
131124
"Run MPSolver on the given input file. Many formats are supported: \n"
132125
" - a .mps or .mps.gz file,\n"

0 commit comments

Comments
 (0)