Skip to content

Commit 99586e7

Browse files
committed
Fix weak attribute position
1 parent 11f8f39 commit 99586e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ortools/linear_solver/linear_solver.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ MPSolver::MPSolver(const std::string& name,
412412

413413
MPSolver::~MPSolver() { Clear(); }
414414

415-
bool GurobiIsCorrectlyInstalled() __attribute__((weak)) { return false; }
416-
bool XpressIsCorrectlyInstalled() __attribute__((weak)) { return false; }
415+
bool __attribute__((weak)) GurobiIsCorrectlyInstalled() { return false; }
416+
bool __attribute__((weak)) XpressIsCorrectlyInstalled() { return false; }
417417

418418
// static
419419
bool MPSolver::SupportsProblemType(OptimizationProblemType problem_type) {

0 commit comments

Comments
 (0)